- 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
+2
View File
@@ -106,6 +106,8 @@ class Component_Builder {
* FILE INFO:
* This file was generated by LightCandy::compile function.
* The original source is the .HBS(handlebars) file that is located next to this generated PHP file.
*
* Compiled at " . date( 'Y-m-d h:i:s' ) . "
*/
";
@@ -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();