Restrict content based on buy woocommerce product
Well, I answering my question. As @Milan Petrovic mentioned in comments, it’s easy to do. just creating shortcode and check if user bought specific product. Here is the code: /** * [wcr_shortcode description] * @param array pid product id from short code * @return content shortcode content if user bought product */ function wcr_shortcode($atts = … Read more