apply_filters( “edit_user_{$field}”, mixed $value, int $user_id )

Filters a user field value in the ‘edit’ 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.

Parameters

$valuemixed
Value of the prefixed user field.
$user_idint
User ID.

Source

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

Changelog

VersionDescription
2.9.0Introduced.

User Contributed Notes

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