View Product Page

Membership History shortcode

The “Membership history” shortcode lets you show users the list of all memberships they are following.
The attributes of the shortcode are:

  • title: title you want to show ahead of the content of the shortcode
  • type: this attribute lets you filter the list of the membership displayed when you are also using the YITH WooCommerce Subscription plugin.
    type = “membership” this lets you show all memberships with no subscription plan of the users.
    type = “subscription” this lets you show all memberships with a subscription plan of the users.

An example of a shortcode: [membership_history id=”123″ title=”Shortcode Title” type=”membership”]

Please, note, to make sure all contents are visible here, you must have enabled it from Membership plans > [Your plan] > Show contents in membership details:

Show contents in membership details