Browse Source

Merge with latest.

dev
Roman Axelrod 7 months ago
parent
commit
95e0cae3ed
  1. 4
      package-lock.json
  2. 2
      package.json
  3. 2
      platforms/wordpress/templates/Template_Basic_Component.php

4
package-lock.json

@ -1,12 +1,12 @@
{ {
"name": "@axe-web/block-dev-tool", "name": "@axe-web/block-dev-tool",
"version": "1.0.33", "version": "1.0.36",
"lockfileVersion": 3, "lockfileVersion": 3,
"requires": true, "requires": true,
"packages": { "packages": {
"": { "": {
"name": "@axe-web/block-dev-tool", "name": "@axe-web/block-dev-tool",
"version": "1.0.33", "version": "1.0.36",
"license": "ISC", "license": "ISC",
"dependencies": { "dependencies": {
"@axe-web/create-block": "^1.1.30", "@axe-web/create-block": "^1.1.30",

2
package.json

@ -1,6 +1,6 @@
{ {
"name": "@axe-web/block-dev-tool", "name": "@axe-web/block-dev-tool",
"version": "1.0.33", "version": "1.0.36",
"author": { "author": {
"name": "AXE-WEB", "name": "AXE-WEB",
"email": "office@axe-web.com", "email": "office@axe-web.com",

2
platforms/wordpress/templates/Template_Basic_Component.php

@ -33,7 +33,7 @@ class <%= blockClassModel %>_Component extends \Core\Component {
$output = ( include( __DIR__ . '/templates/<%= blockFilename %>.template.php' ) )( $args, self::class ); $output = ( include( __DIR__ . '/templates/<%= blockFilename %>.template.php' ) )( $args, self::class );
return apply_filters( 'axeweb_blocks/<%= ownerFilename %>/<%= blockFilename %>::content', $output ); return apply_filters( 'axeweb_blocks/<%= ownerFilename %>/<%= blockFilename %>::content', $output, $args );
} }
function register_custom_logic(): void { function register_custom_logic(): void {

Loading…
Cancel
Save