This shortcode can be used to display information about the current/any users subscription.
Parameters:
- id – If not set, will default to the currently logged in user
- subscription_plan – this can be used to target a particular subscription in case the user is subscribed to multiple plans
- key – value that you want to retrieve. Possible keys: start_date, expiration_date, status, plan_name, plan_price, plan_duration
Usage:
[pms-subscription-info key="plan_name"]
Array
Paid Member Subscriptions Pro
Accept (recurring) payments, create subscription plans and restrict content on your website. Easily setup a WordPress membership site using Paid Member Subscriptions.
Unlock PRO Features