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

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


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.


Top ↑

Parameters

$value mixed
Value of the prefixed user field.

Top ↑

Source

File: wp-includes/user.php. View all references

$value = apply_filters( "pre_user_{$field}", $value );


Top ↑

Changelog

Changelog
Version Description
2.9.0 Introduced.

Top ↑

User Contributed Notes

You must log in before being able to contribute a note or feedback.