Hi @jennnjennjen
Do you mean something like you would find in wp-admin>Tools>Earn, then clicking Collect Payments in the Manage Payments box? Going there will create a list of the paid subscribers.
Also, as you are a paying Jetpack customer, you can get support via email, which will likely be more responsive, by clicking the Blue question mark in the lower right corner of your dashboard, then clicking Contact Us.
Hi Bruce,
Thanks for your response. I’m looking for a WordPress/php function (similar to is_user_logged_in() except for paid subscribers) that will return whether or not a user is a paid subscriber.
I see that I have the ability to view the list in the dashboard, but I’m looking specifically for a php function to use in the code.
Is there something like that? I’ve found that the forums have been a better place to get help regarding coding questions than the Jetpack support, but perhaps I will try asking them, too.
-
This reply was modified 4 years, 7 months ago by
jennnjennjen.
-
This reply was modified 4 years, 7 months ago by
jennnjennjen.
Hi @jennnjennjen
I’m afraid this is beyond the scope of the support we can offer here.
You may want to consider hiring someone so that you can give them direct access to the site for a far more efficient customization than we can provide here.
Please try https://jobs.wordpress.net/ or https://jetpack.pro/ if you need help.
Let me know if you have any questions.
My best regards,
Michelle
Hi Michelle — I’m not asking anyone to code anything for me.
I just want to know if a php function exists within Jetpack that returns whether a given user is a premium subscriber? If so, can you tell me what it is?
Hi @jennnjennjen
Maybe this?
Automattic\Jetpack\Extensions\Premium_Content\current_visitor_can_access()
You can see it in this GitHub post.
Thank you bruce, I’ll see if I can make that work!