Skip to content

Commit

Permalink
fix typo
Browse files Browse the repository at this point in the history
  • Loading branch information
yuriipavlov committed Jun 21, 2024
1 parent 776487a commit da38a19
Showing 1 changed file with 7 additions and 2 deletions.
9 changes: 7 additions & 2 deletions src/Base/Hooks.php
Original file line number Diff line number Diff line change
Expand Up @@ -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']);
Expand Down

0 comments on commit da38a19

Please sign in to comment.