Skip to main content

mbr_product_regular_plan_interval_count

Usage

This shortcode returns the payment interval count for a regular priced subscription whose ID is given.

Parameters

ParametersDescription
product_idThe subscription ID for which the payment interval count 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_regular_plan_interval_count].

Nesting

Shortcode nesting within is NOT supported.

Examples

Returns the payment interval count for the subscription with ID 345:

[mbr_product_regular_plan_interval_count product_id='345']

API

Note

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