WordPress at a glance
filter is not described

pre_user_(field) filter-hook . WP 2.9.0

Filters the value of a user field in the 'db' context.

The dynamic portion of the hook name, $field, refers to the prefixed user field being filtered, such as 'user_login', 'user_email', 'first_name', etc.


add_filter( 'pre_user_(field)', 'filter_function_name_3558' );
function filter_function_name_3558( $value ){
	// filter...

	return $value;
Value of the prefixed user field.

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

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

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

wp-includes/user.php 1311
$value = apply_filters( "pre_user_{$field}", $value );

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

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