- Added compile note (date) in PHP bundle.

- Update spacings/code-format of PHP bundle.
This commit is contained in:
2022-12-08 05:40:39 +02:00
parent 6626ecff2a
commit d8c3d4c54b
2 changed files with 81 additions and 81 deletions
@@ -13,7 +13,6 @@ class <%= blockClassModel %>_Component extends \Core\Component {
return apply_filters( 'axeweb_blocks/<%= ownerFilename %>/<%= blockFilename %>::content', $output );
}
<% 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 = \Core\Global_Functions::get_current_version_number(); // In Theme
@@ -62,7 +61,6 @@ class <%= blockClassModel %>_Component extends \Core\Component {
);
} );<% } %>
}<% } %>
}
<%= blockClassModel %>_Component::get_instance();