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



pre_user_display_name › WordPress Filter Hooks

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

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





Source

$display_name = apply_filters( 'pre_user_display_name', $display_name );