With Paid Membership Pro (PMPro) plugin, you can restrict certain products for certain membership levels. But by default, when a member visits shop, they can still see those restricted products, which they were not supposed to see. We will avoid that using woocommerce_product_query action hook, by modifying the default WooCommerce… Read More »