Skip to content

Instantly share code, notes, and snippets.

@alispx
Created May 28, 2014 07:54
Show Gist options
  • Save alispx/76c24a12759724996480 to your computer and use it in GitHub Desktop.
Save alispx/76c24a12759724996480 to your computer and use it in GitHub Desktop.
/**
* Change your product per page
* @author alispx
*/
add_filter( 'loop_shop_per_page', 'woo_shop_per_page' );
function woo_shop_per_page() {
return 12;
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment