jetpack_search_blocks_enabled
jetpack_search_blocks_enabled
Appears in: jetpack.15.9
Hook Type: filter
Displaying hooks found in version: jetpack.15.9apply_filters('jetpack_search_blocks_enabled') is found 2 times:
- /jetpack_vendor/automattic/jetpack-search/src/dashboard/class-initial-state.php line 90
* Mirrors the `jetpack_search_blocks_enabled` server-side filter so the * dashboard React app can gate the new feature-selection UI on the * same flag the back end uses to register the blocks themselves. */ 'searchBlocksEnabled' => (bool) apply_filters( 'jetpack_search_blocks_enabled', true ), /** * Whether the experimental blocks-powered Overlay search experience * is available in the Experience Selector. Mirrors the * `jetpack_search_overlay_block_template_enabled` server-side filter * so the dashboard React app can gate the new card on the same flag * the back end uses to enable the runtime swap. Defaults to true so
- /jetpack_vendor/automattic/jetpack-search/src/initializers/class-initializer.php line 166
* Search (paid plans or the free `jetpack_search_free` product). * * @param bool $enabled Default true. */ if ( ! apply_filters( 'jetpack_search_blocks_enabled', true ) ) { return; } Search_Blocks::init(); // When the Search blocks own the front-end results (Embedded / blocks