1. Documentation
  2. Shortcodes
  3. [gamipress_last_achievement_earned]

[gamipress_last_achievement_earned]

Display the last achievement earned by the current user or a desired user.

Preview:

Attributes:

  • type – The type of the last achievement earned. Accepts: Any slug of any achievement type.
  • current_user – Show last achievement earned of current logged in user. Accepts: yes or no Default: yes
  • user_id – Show last achievement earned earned by a specific user.
  • This shortcode accepts all attributes of [gamipress_achievement] to setup the achievement display.

Example:
[gamipress_last_achievement_earned type="badges"]

How can we help?