Skip to content

Instantly share code, notes, and snippets.

@lukecav
Created November 19, 2019 20:12
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save lukecav/9c4d0be3a6f97d5e3df5e5bf55dde991 to your computer and use it in GitHub Desktop.
Save lukecav/9c4d0be3a6f97d5e3df5e5bf55dde991 to your computer and use it in GitHub Desktop.
Advanced Woo Search plugin change re-index number of product posts
add_filter( 'aws_index_posts_per_page', 'wp_aws_index_posts_per_page' );
function wp_aws_index_posts_per_page( $number ) {
return 100;
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment