jetpack_search_overlay_block_template_enabled
jetpack_search_overlay_block_template_enabled
Appears in: jetpack.15.9
Hook Type: filter
Displaying hooks found in version: jetpack.15.9apply_filters('jetpack_search_overlay_block_template_enabled') is found 3 times:
- /jetpack_vendor/automattic/jetpack-search/src/class-module-control.php line 323
// the value at the boundary so the runtime gate isn't the only // safety net. if ( self::EXPERIENCE_OVERLAY_BLOCKS === $experience && ! (bool) apply_filters( 'jetpack_search_overlay_block_template_enabled', true ) ) { return new WP_Error( 'experience_not_available', esc_html__( 'The blocks-powered Overlay search experience is not enabled on this site.', 'jetpack-search-pkg' ), array( 'status' => 400 ) ); - /jetpack_vendor/automattic/jetpack-search/src/dashboard/class-initial-state.php line 100
* the back end uses to enable the runtime swap. Defaults to true so * the Beta card ships to every site; operators that pin the filter * to false fall back to the original four-card selector. */ 'blockOverlayEnabled' => (bool) apply_filters( 'jetpack_search_overlay_block_template_enabled', true ), /** * Editor affordances for the experimental blocks-powered overlay. * Surfaces in the new Overlay search card so admins can edit the * rendered template via the standard block editor on `post.php` — * works on both block and classic themes. URLs are null for any * visitor without `manage_options`; the action handlers also
- /jetpack_vendor/automattic/jetpack-search/src/search-blocks/class-search-blocks.php line 345
* Selector and disable the editable-template CPT. * * @param bool $enabled Default true. */ return (bool) apply_filters( 'jetpack_search_overlay_block_template_enabled', true ); } /** * Memoized `Plan::is_free_plan()`. See `$is_free_plan_cache`. * * @return bool