Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- <?php
- // Prevent WP-Views from overriding SearchWP's results.
- add_filter( 'wpv_filter_wpv_override_wordpress_archive', function( $wpa_to_apply, $wpa_slug ) {
- if ( 'view_search-page' !== $wpa_slug ) {
- return $wpa_to_apply;
- }
- return false;
- }, 999, 2 );
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement