Skip to main content

mbr_product_regular_price

Usage

This shortcode returns the regular price of the product/subscription whose ID is given.

Parameters

ParametersDescription
product_idThe product/subscription ID for which the regular price 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_price].

Nesting

Shortcode nesting within is NOT supported.

Examples

Returns the regular price for the product/subscription with ID 345:

[mbr_product_regular_price product_id='345']

API

Note

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