Context: Given a WordPress website with WooCommerce and WooCommerce Subscriptions, I am attempting to fetch a list of a specific user's subscriptions. Until the recent update, this one line of code has taken care of this for me. Here's is the code that I've been using: $all_user_subscriptions = WC_Subscriptions_Manager::get_users_subscriptions( $user_id ); Where $user_id is a valid user's ID in WordPress. The Problem: We are seeing the following...
Originally asked by Nicholas Cardot on Stack Exchange (stackoverflow) (CC BY-SA 3.0).