1. Documentation
  2. Purchases
  3. [gamipress_rank_purchase_form]

[gamipress_rank_purchase_form]

Render a rank purchase form.

Important: Remember that to work with a desired achievement, is required to configure the access price of the desired achievement.

Attributes:

  • id – The ID of the rank to be purchased.
  • getaways – Choose the payment methods customer can use. Accepts: all, bank_transfer, paypal_standard Default: all
  • button_text – Purchase button text. Default: Purchase
  • thumbnail – Display the rank featured image. Default: yes
  • excerpt – Display the rank short description. Default: yes
  • requirements – Display the rank requirements. Default: yes
  • toggle – Display the rank requirements toggle. Default: yes
  • earners – Display a list of users that has earned the rank. Default: no

Example:
[gamipress_rank_purchase_form id="123" getaways="all" button_text="Purchase" thumbnail="yes" excerpt="yes" requirements="yes" toggle="yes" earners="no"]

Was this article helpful to you? Yes No

How can we help?