pre_user_{$field}

Advertisement

Summery Summery

Filters the value of a user field in the ‘db’ context.

Syntax Syntax

apply_filters( "pre_user_{$field}", mixed $value )

Description Description

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.

Parameters Parameters

$value

Value of the prefixed user field.

Source Source

File: wp-includes/user.php

Advertisement

Changelog Changelog

Changelog
Version Description
2.9.0 Introduced.

Advertisement

Leave a Reply