I found the code to check whether a user has an active subscription using the product ID...
<?php
$has_sub = wcs_user_has_subscription( '', 5861, 'active' );
if ( $has_sub) {?>
<p>You are a member of the Samurai</p>
<?php } ?>
...however, I'd like to check if they are a member of one of a few subscriptions at a time. I tried to use an array but to no avail...
<?php
$subscription_id = array(5861, 5862);
$has_sub = wcs_user_has_subscription( '', $subscription_id, 'active');
if ( $has_sub) {?>
<p>You are a member of the Samurai</p>
<?php } ?>
I guess the 'wcs_user_has_subscription' is looking for a single ID
Any ideas how I'd check for any of the IDs in that array