Class ‘WC_Subscriptions_Manager’ not found
-
I’m using the WooCommerce subscriptions plugin. I’m trying to check if the current user has a subscription but I get an error: Class ‘WC_Subscriptions_Manager’ not found. Can anyone tell me why?
$has_sub = \WC_Subscriptions_Manager::user_has_subscription( $the_user_id, $the_product_id, $the_status);
This is the class as per documentation:
- The topic ‘Class ‘WC_Subscriptions_Manager’ not found’ is closed to new replies.