Change Number of Vendors Per Page

This snippet gives you the ability to choose how many vendor stores are displayed in the Vendor List page before pagination.

As always, this is either added to your Child Theme’s functions.php file, or consider using the My Custom Functions Pro plugin to manage and organize all your snippets.

add_filter('wcmp_vendor_list_vendors_query_args', 'display_number');

function display_number( $args ) {
$args['number'] = 36;
return $args;

Comments on this post

Your email address will not be published. Required fields are marked *