Skip to content

Instantly share code, notes, and snippets.

What would you like to do?
Customize the number of results in SearchWP Live Ajax Search
function my_searchwp_live_search_posts_per_page() {
return 20; // return 20 results
add_filter( 'searchwp_live_search_posts_per_page', 'my_searchwp_live_search_posts_per_page' );
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment