mbr_product_sale_plan_interval
Usage
This shortcode returns the payment interval for a sale priced subscription whose ID is given.
Parameters
Parameters | Description |
---|---|
product_id | The subscription ID for which the payment interval will be returned. Default: none. Required: yes. |
The product_id can be determined by viewing ActiveMember360, Payment, Products or ActiveMember360, Payment, Subscriptions and editing or hovering over the product/subscription. It is the value of the post
parameter shown in the URL as an example https://yoursite.com/wp-admin/post.php?post=28&action=edit the product_id is 28.
Validity
This shortcode is only available when the ActiveMember360 Payment Module is active as detailed within ActiveMember360 Payment Module Activation.
This shortcode is evaluated for any type of visitor.
Conditional Branching
This shortcode does NOT support conditional branching with [ELSE_product_sale_plan_interval].
Nesting
Shortcode nesting within is NOT supported.
Examples
- Example 1
Returns the payment interval for the subscription with ID 345:
[mbr_product_sale_plan_interval product_id='345']
API
There is currently no ActiveMember360 API function equivalent for this shortcode.