Created
April 6, 2017 19:50
-
-
Save hilja/680424bcae5b429b1841bdc71621f723 to your computer and use it in GitHub Desktop.
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
// Seach WP posts per page | |
add_filter('searchwp_posts_per_page', function($posts_per_page, $engine, $terms, $page) { | |
return 20; | |
}, 99, 99); |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment