Modify the LIMIT start of the SearchWP query
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
<?php | |
function my_searchwp_query_limit_start( $start, $page, $engine ) { | |
if ( 'default' == $engine && 10 == $page ) { | |
$start = 100; | |
} | |
return $start; | |
} | |
add_fitler( 'searchwp_query_limit_start', 'my_searchwp_query_limit_start', 10, 3 ); |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment