WPUF Subscription – PHP to check what type of sub they have
Author | Posts |
---|---|
November 25, 2014 at 1:52 am 31127 | |
Ben | Howdy! We have 3 types of subscriptions. Platinum, Gold, and Silver. I want to display different PHP on a page depending on what type of package they have. Can you please provide the PHP to check "if logged in user has silver subscription then execute this code"? I tried digging through the subscription.php class in wpuf and wasn't able to figure it out on my own. Thank you so much! Ben |
November 26, 2014 at 12:47 pm 31228 | |
towhid | Hello Ben, Currently we do not have this feature available. I have discussed about this feature with our developer team. They will check and implements this feature in our next update. If you need this urgent you can hire a developer to develop this. Thank You. 🙂 |
November 27, 2014 at 8:00 am 31271 | |
Ben | Really? There’s no flag to check for this? Somewhere you check for the subscription package purchased in your plugin, why can I not use that to check it myself? All I need is your help to tell me what to check for. 🙂 |
November 27, 2014 at 12:45 pm 31284 | |
towhid | Hello Ben, Please create a new page and put this shortcode Thank You 🙂 |
November 28, 2014 at 1:33 am 31312 | |
Ben | No, no, no. You are not reading the request properly. I am not trying to tell the subscriber what type of subscription they have. I am trying to show the subscriber content, based on the subscription they purchased. If silver member, show this text. If gold member, show this text. If platinum member, show this text. Thanks |
December 1, 2014 at 12:44 pm 31466 | |
Sekander Badsha | Hello Ben, There is a user meta named We do not provide support for customization. But you are always welcome to ask for direction. 🙂 |
December 5, 2014 at 1:51 am 31869 | |
Ben | Thanks! That was the information I needed. Ben |