Skip to main content

mbr_product_sale_plan_trial_period

Usage

This shortcode returns the trial period for a sale priced subscription plan whose ID is given.

Parameters

ParametersDescription
product_idThe product/subscription ID for which the plan trial period will be returned.
Default: none.
Required: yes.
Note

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_trial_period].

Nesting

Shortcode nesting within is NOT supported.

Examples

Returns the plan trial period for the product/subscription with ID 345:

[mbr_product_sale_plan_trial_period product_id='345']

API

Note

There is currently no ActiveMember360 API function equivalent for this shortcode.