edit_user_{$field}

Advertisement

Summery Summery

Filters a user field value in the ‘edit’ context.

Syntax Syntax

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

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.

$user_id

User ID.

Source Source

File: wp-includes/user.php

Advertisement

Changelog Changelog

Changelog
Version Description
2.9.0 Introduced.

Advertisement

Leave a Reply