How can I iterate through all current active woo subscriptions and print the user ID of the user who published the product related to each active subscription (PHP)? I think something like this will give just the subscriptions:
$args = array( 'subscriptions_per_page' => -1, 'post_type' => 'shop_subscription', // WC orders post type
'post_status' => 'wc-active' );
$subscriptions = wcs_get_subscriptions( $args );