1. Documentation
  2. Points Limits
  3. [gamipress_points_limit]

[gamipress_points_limit]

Render the user points limit.

Attributes:

  • type – The points type slug.
  • message – Text that is shown to users to let them know how many points are able to earn until reach the limit. Default: {points}/{points_limit} {points_type} {limit_recurrence}
  • limit_reached_message – Text that is shown to users when points limit was reached. Default: You have reached the limit of {points_limit} {points_type} {limit_recurrence}
  • current_user – Show the current logged in points limit. Default: yes
  • user_id – Show a specific user points limit.

Example: [gamipress_points_limit type="credits" message="{points}/{points_limit} {points_type} {limit_recurrence}" limit_reached_message="You have reached the limit of {points_limit} {points_type} {limit_recurrence}" current_user="yes"]

How can we help?