i4w_user_subscriptions

Usage:

This shortcode enables you to display a logged in contact’s list of subscriptions, as well as the ability to cancel or reactivate subscriptions and/or change credit cards used to pay for the same.

By using different parameter combinations, this shortcode can be used to display different views of the subscriptions on file in your system, such as with the “status” filter set to “all”, “active” or “inactive”.

You can also specify which fields you want included in the table display. The “official” list of accepted field names can be found here.

You can set your own headers for each column in the generated table.

For pages using the [i4w_list_subscriptions], it has been internally been remapped to now use this shortcode instead.

This shortcode does NOT supports conditional branching with [ELSE_user_subscriptions].

Shortcode nesting is NOT supported.

Parameters:

status Is used to filter the list based on “valid” status. Can be ‘all, ‘active’ or ‘inactive’.
Required: No, defaults to ‘all’.
fields Is used to specify the columns for the generated table.
Required: No, defaults to ‘ProgramName,Status,BillingCycle,StartDate,PaidThruDate,NextBillDate,BillingAmt’.
headers Is used to specify columns headers for the generated table.
Required: No, defaults to ‘Program Name,Status,Cycle,Start,Paid Thru,Next Bill Date,Amount’ – if the columns are set to default, otherwise, the field names are used.

Example:

Notes:

Due to the complex nature of this Ajax/jQuery shortcode, it may only be used once on any given page.

API:

There is no API function equivalent for this shortcode.