Skip to content

Instantly share code, notes, and snippets.

What would you like to do?
Documentation: Storefront Filters example: Change the number of products displayed per page
function alter_sf_products_per_page() {
// Return the number of products per page ( default: 12 ).
return 8;
add_filter('storefront_products_per_page', 'alter_sf_products_per_page' );
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment