Title: function call in template.php
Last modified: March 25, 2018

---

# function call in template.php

 *  [richardzimmer](https://wordpress.org/support/users/richardzimmer/)
 * (@richardzimmer)
 * [8 years ago](https://wordpress.org/support/topic/function-call-in-template-php/)
 * I cannot find complete documentation for yith membership plugin to woocommerce,
   therefore I am asking here.
 * Is there a functioncall to write in my template.php file to find out if the acrual
   reader of my page is member or not?
 * Thanks in advance,
 * Richared

Viewing 1 replies (of 1 total)

 *  Plugin Author [YITHEMES](https://wordpress.org/support/users/yithemes/)
 * (@yithemes)
 * [7 years, 11 months ago](https://wordpress.org/support/topic/function-call-in-template-php/#post-10174344)
 * Hi Richared,
    and thank you for writing in!
 * You can use the following function:
    `yith_wcmbs_user_has_membership()` it returns
   true if the user is a member; false in the opposite case.
 * Best Regards

Viewing 1 replies (of 1 total)

The topic ‘function call in template.php’ is closed to new replies.

 * ![](https://s.w.org/plugins/geopattern-icon/yith-woocommerce-membership_d08458.
   svg)
 * [YITH WooCommerce Membership](https://wordpress.org/plugins/yith-woocommerce-membership/)
 * [Frequently Asked Questions](https://wordpress.org/plugins/yith-woocommerce-membership/#faq)
 * [Support Threads](https://wordpress.org/support/plugin/yith-woocommerce-membership/)
 * [Active Topics](https://wordpress.org/support/plugin/yith-woocommerce-membership/active/)
 * [Unresolved Topics](https://wordpress.org/support/plugin/yith-woocommerce-membership/unresolved/)
 * [Reviews](https://wordpress.org/support/plugin/yith-woocommerce-membership/reviews/)

## Tags

 * ["function call"](https://wordpress.org/support/topic-tag/function-call/)
 * [php](https://wordpress.org/support/topic-tag/php/)

 * 1 reply
 * 2 participants
 * Last reply from: [YITHEMES](https://wordpress.org/support/users/yithemes/)
 * Last activity: [7 years, 11 months ago](https://wordpress.org/support/topic/function-call-in-template-php/#post-10174344)
 * Status: not resolved