From 05b5ccb2b52723c79274bfbc85aa26e8dc836025 Mon Sep 17 00:00:00 2001 From: Roman Axelrod Date: Thu, 8 Dec 2022 13:34:12 +0200 Subject: [PATCH] Code format - build of wordpress. --- platforms/wordpress/templates/Template_Basic_Component.php | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/platforms/wordpress/templates/Template_Basic_Component.php b/platforms/wordpress/templates/Template_Basic_Component.php index b261026..620556e 100644 --- a/platforms/wordpress/templates/Template_Basic_Component.php +++ b/platforms/wordpress/templates/Template_Basic_Component.php @@ -9,8 +9,8 @@ class <%= blockClassModel %>_Component <% if (isComponentManager) { %>extends \C // add_action( 'wp_enqueue_scripts', [ $this, 'register_assets' ] ); add_action( 'after_setup_theme', [ $this, 'register_assets' ] ); } - <% } %> - function register_assets(): void { + + <% } %>function register_assets(): void { $base_path = plugin_dir_url( __FILE__ ); // In Plugins // $base_path = get_template_directory_uri() . '/components/partials/<%= blockFilename %>/'; // In Theme