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



pre_user_first_name › WordPress Filter Hooks

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

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





Source

$meta['first_name'] = apply_filters( 'pre_user_first_name', $first_name );