WordPress как на ладони
WordPress темы и плагины за 250 рублей wordpress jino
фильтр не описан

pre_user_first_name хук-фильтр . WP 2.0.3

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

Использование

add_filter( 'pre_user_first_name', 'filter_function_name_2558' );
function filter_function_name_2558( $first_name ){
	// filter...

	return $first_name;
}
$first_name(строка)
The user's first name.

Где используется хук

wp_insert_user() остальные хуки:

Код хука

Фрагмент из: wp-includes/user.php VER 4.9.6
...
	 * @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.
	 *
	 * @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.
	 *
	 * @since 2.0.3
	 *
	 * @param string $last_name The user's last name.
	 */
	$meta['last_name'] = apply_filters( 'pre_user_last_name', $last_name );

	if ( empty( $userdata['display_name'] ) ) {
		if ( $update ) {
			$display_name = $user_login;
...