Exclude products created by expired members from WooCommerce queries

If you have a website where your users are allowed to setup their own shop and create products (using WC Vendors, WC Marketplace or something similar) you can use Paid Member Subscriptions to sell access rights to these vendors.

Using the code from below, you can exclude from the Shop page (or product category archive) products created by users that have an expired membership:Array

If you don’t know how to use these code snippets, please read the instructions found at the top of this page.

Paid Member Subscriptions Pro

Accept (recurring) payments, create subscription plans and restrict content on your website. Easily setup a WordPress membership site using Paid Member Subscriptions.

Unlock PRO Features

Or download FREE version