Support » Plugin: YITH WooCommerce Subscription » Checking is user subscribed?

  • Hello,

    I have got 3 different 3 subscription.

    How can i check the Subscription 1 is active or Yith Subsciption is active on that user. Then i will display the links.

    Thanks.

Viewing 3 replies - 1 through 3 (of 3 total)
  • How can i check the current user is Subscribed?

    Thanks.

    Hello,

    if (ywsbs_get_status($order)) { ?>
        <a href="<?php echo esc_url($lesson_url); ?>" class="btn btn-default">test
        </a>
    <?php } ?>

    Thanks.

    • This reply was modified 3 months, 2 weeks ago by Uranbold.

    I wanna do this on another Page. If user has subscribed then i wanna display links. But i can’t do this.

Viewing 3 replies - 1 through 3 (of 3 total)
  • You must be logged in to reply to this topic.