Note: You are viewing the documentation for Version 3View Version 4 Docs


View the installation guide, browse the Knowledge Base, find out about SearchWP's many hooks, get support

Available since: 1.0.8


View Parameters »

SearchWP handles pagination internally but if you would like to overwrite the LIMIT start parameter you can use this hook like so:

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 );
view raw gistfile1.php hosted with ❤ by GitHub


Parameter Type Description
$start Integer

The start value

$page Integer

The current page

$engine String

The engine in use

Fix keyword search on your site. No coding required!

Now you can utilize all of the content that's gone unrecognized by native WordPress keyword search instantly with SearchWP

Get SearchWP