Customize the number of results in SearchWP Live Ajax Search
<?php | |
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