• 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:

    • This topic was modified 7 years, 8 months ago by Stefan.
  • The topic ‘Class ‘WC_Subscriptions_Manager’ not found’ is closed to new replies.