pre_user_first_name

pre_user_first_name

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

See hook in core

Displaying hooks found in version: wordpress-6.7

apply_filters('pre_user_first_name') is found 1 times:

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