diff --git a/src/Base/Hooks.php b/src/Base/Hooks.php index 93b91d42..148216b6 100644 --- a/src/Base/Hooks.php +++ b/src/Base/Hooks.php @@ -77,8 +77,13 @@ public static function initHooks(): void /************************************ * Front ************************************/ - add_action('enqueue_block_assets', [Handlers\Front::class, 'enqueueCriticalAssets'], 2 ); - add_filter(Config::get('hooksPrefix') . '/block_asset_dependencies', [Handlers\Front::class, 'addThemeStyleDependencyToBlocks'], 10, 3); + add_action('enqueue_block_assets', [Handlers\Front::class, 'enqueueCriticalAssets'], 2); + add_filter( + Config::get('hooksPrefix') . '/block_asset_dependencies', + [Handlers\Front::class, 'addThemeStyleDependencyToBlocks'], + 10, + 3 + ); add_action('enqueue_block_assets', [Handlers\Front::class, 'enqueueBootstrap'], 10); add_action('wp_enqueue_scripts', [Handlers\Front::class, 'enqueueThemeAssets']); add_action('wp_enqueue_scripts', [Handlers\Front::class, 'loadFrontendJsData']);