Detecting if the current user has an active subscription
I'm developing a website in WordPress with WooCommerce. I'm using additionally WC Paid Listings and WooCommerce Subscriptions plugins to handle my work. The problem is when a user with "subscriber" role with an active subscription login and try to post a content every time he / she has to choose a package even he has an active subscription. Is there anyone with an idea of how to detect if user has an active subscription , if it returns true then the step choosing package skipped? Thanks. Updated (2019) New conditional function using WooCommerce Subscriptions wcs_user_has_subscription() . New