%user_name%

Description

Returns the users “user name”. If you want to return the username URL encoded you can use the %user_name_ec% template tag instead.

Usage

Log Template
Points for becoming friends with %user_name%
Output
Points for becoming friends with john doe

Hooks

This template tag can be used in the following hooks:

  • Points for Registration
  • BuddyPress: Members

Add-ons

This template tag can be used with the following add-ons:

  • Transfer