jetpack_search_classic_search_enabled

jetpack_search_classic_search_enabled

Hook Type: filter
See hook in action

See hook in core

Displaying hooks found in version: jetpack.14.0

apply_filters('jetpack_search_classic_search_enabled') is found 1 times:

  • /jetpack_vendor/automattic/jetpack-search/src/initializers/class-initializer.php line 129
    		 * @since 0.39.6
    		 * @param boolean initial value whether classic search is enabled.
    		 * @param boolean filtered result whether classic search is enabled.
    		 */
    		if ( apply_filters( 'jetpack_search_classic_search_enabled', ! $is_instant_search_enabled ) ) {
    			// Enable the classic search experience.
    			$success = static::init_classic_search( $blog_id );
    		}
    
    		if ( $success ) {
    			// registers Jetpack Search widget.
    

See this hook used in plugins: