WordPress как на ладони
wordpress jino
фильтр не описан

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

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

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

add_filter( 'pre_user_nickname', 'filter_function_name_2567' );
function filter_function_name_2567( $nickname ){
	// filter...

	return $nickname;
}
$nickname(string)
The user's nickname.

Связи хука

Используется в: wp_insert_user()

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

Кусок кода с хуком

Фрагмент из: wp-includes/user.php WP 4.8.2
...
	if ( ( ! $update || ( ! empty( $old_user_data ) && 0 !== strcasecmp( $user_email, $old_user_data->user_email ) ) )
		&& ! defined( 'WP_IMPORTING' )
		&& email_exists( $user_email )
	) {
		return new WP_Error( 'existing_user_email', __( 'Sorry, that email address is already used!' ) );
	}
	$nickname = empty( $userdata['nickname'] ) ? $user_login : $userdata['nickname'];

	/**
	 * Filters a user's nickname before the user is created or updated.
	 *
	 * @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'];

	/**
...