get_script_for_v2( true ); } } ); add_filter( 'addsearch_replace_search_page', /** * Check if the theme support replacement of the search page. * * Will return false for DIVI. * * Note: Divi does not work if we replace the search page * as the CSS does not get loaded in the footer after die(). * * @since 2.1.0 */ function( $default ) { return ! class_exists( 'ET_Theme_Builder_Request' ); } );