Builtin membership function
Viewing 1 Posts - 1 through 1 (of 1 total)
Author | Posts |
---|---|
September 4, 2013 at 2:37 am 7768 | |
Tareq Hasan | Hello,
I was wondering, if there is any function that allows me to check if a user has purchased a membership or not. What i want to do is to simply display some content if a membership has been purchased.
For example
if(has_membership('something')) { //display stuff here }
Thank you. |
September 5, 2013 at 12:18 am 7794 | |
Tareq Hasan | Sorry, there isn’t any helper function like this yet. The membership information are stored in the user meta field. Check the subscription file and |
Viewing 1 Posts - 1 through 1 (of 1 total)