-
-
Save jchristopher/b05a4e99210b0c14c6210056f366bdf0 to your computer and use it in GitHub Desktop.
This file contains hidden or 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 | |
// Seach WP posts per page | |
add_filter('searchwp_posts_per_page', function($posts_per_page, $engine, $terms, $page) { | |
return 20; | |
}, 99, 4); |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment