|
|
@ -13,7 +13,6 @@ class <%= blockClassModel %>_Component extends \Core\Component { |
|
|
|
|
|
|
|
|
return apply_filters( 'axeweb_blocks/<%= ownerFilename %>/<%= blockFilename %>::content', $output ); |
|
|
return apply_filters( 'axeweb_blocks/<%= ownerFilename %>/<%= blockFilename %>::content', $output ); |
|
|
} |
|
|
} |
|
|
|
|
|
|
|
|
<% if (!include_acf_block && !include_native_gutenberg_block) { %>function register_assets(): void { |
|
|
<% if (!include_acf_block && !include_native_gutenberg_block) { %>function register_assets(): void { |
|
|
$version = get_plugin_data( __DIR__ . "/../../scytale-custom-blocks.php" )['Version']; // In Plugins |
|
|
$version = get_plugin_data( __DIR__ . "/../../scytale-custom-blocks.php" )['Version']; // In Plugins |
|
|
// $version = \Core\Global_Functions::get_current_version_number(); // In Theme |
|
|
// $version = \Core\Global_Functions::get_current_version_number(); // In Theme |
|
|
@ -62,7 +61,6 @@ class <%= blockClassModel %>_Component extends \Core\Component { |
|
|
); |
|
|
); |
|
|
} );<% } %> |
|
|
} );<% } %> |
|
|
}<% } %> |
|
|
}<% } %> |
|
|
|
|
|
|
|
|
} |
|
|
} |
|
|
|
|
|
|
|
|
<%= blockClassModel %>_Component::get_instance(); |
|
|
<%= blockClassModel %>_Component::get_instance(); |
|
|
|