WordPress at a glance
filter is not described

pre_user_display_name filter-hook . WP 2.0.3

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


add_filter( 'pre_user_display_name', 'filter_function_name_2185' );
function filter_function_name_2185( $display_name ){
	// filter...

	return $display_name;
The user's display name.

Where the hook is called

wp-includes/user.php 1700
$display_name = apply_filters( 'pre_user_display_name', $display_name );

Where the hook is used (in WP core)

wp-includes/default-filters.php 17
add_filter( $filter, 'sanitize_text_field' );
wp-includes/default-filters.php 18
add_filter( $filter, 'wp_filter_kses' );
wp-includes/default-filters.php 19
add_filter( $filter, '_wp_specialchars', 30 );