Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- add_filter( 'remove_auctions_from_woocommerce_product_query', 'add_auctions_to_vendor_page', 1,2 );
- function add_auctions_to_vendor_page($result, $q){
- if(isset($q->query_vars['vendor_shop']) && !empty($q->query_vars['vendor_shop'])) {
- return true;
- }
- }
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement