pre_user_nickname

pre_user_nickname

Appears in: , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , ,
Hook Type: filter

See hook in core

Displaying hooks found in version: wordpress-6.7

apply_filters('pre_user_nickname') is found 1 times:

  • /wp-includes/user.php line 2295
    	 * @since 2.0.3
    	 *
    	 * @param string $nickname The user's nickname.
    	 */
    	$meta['nickname'] = apply_filters( 'pre_user_nickname', $nickname );
    
    	$first_name = empty( $userdata['first_name'] ) ? '' : $userdata['first_name'];
    
    	/**
    	 * Filters a user's first name before the user is created or updated.
    	 *