wpseek.com
A WordPress-centric search engine for devs and theme authors



pre_user_nickname › WordPress Filter Hooks

Since2.0.3
Deprecatedn/a
apply_filters( 'pre_user_nickname', $nickname )
Parameters:
  • (string) $nickname The user's nickname.
    Required: Yes
Defined at:
Codex:

Filters a user's nickname before the user is created or updated.





Source

$meta['nickname'] = apply_filters( 'pre_user_nickname', $nickname );