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;
}

Tested and working on Woocommerce 4.6.1, WCMp 3.5.10

Is this no longer relevant or not working? Please let us know in the comments!

Comments on this post

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