WordPress at a glance
filter is not described

pre_user_email filter-hook . WP 2.0.3

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


add_filter( 'pre_user_email', 'filter_function_name_72' );
function filter_function_name_72( $raw_user_email ){
	// filter...

	return $raw_user_email;
The user's email.

Список изменений

С версии 2.0.3 Введена.

Где вызывается хук

wp-includes/user.php 1657
$user_email = apply_filters( 'pre_user_email', $raw_user_email );

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

wp-includes/default-filters.php 47
add_filter( $filter, 'trim' );
wp-includes/default-filters.php 48
add_filter( $filter, 'sanitize_email' );
wp-includes/default-filters.php 49
add_filter( $filter, 'wp_filter_kses' );