A WordPress-centric search engine for devs and theme authors



pre_user_last_name ›

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

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





Source

$meta['last_name'] = apply_filters( 'pre_user_last_name', $last_name );