ActiveSubscriber.php 267 Bytes Raw Blame History Permalink 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 <?php namespace ACA\WC\Export\UserSubscription; use ACP; class ActiveSubscriber implements ACP\Export\Service { public function get_value($id) { return wcs_user_has_subscription((int)$id, '', 'active') ? '1' : '-'; } }