user_{$name}_label WordPress Filter Hook
The user_{$name}_label hook is used to display a user's label in the WordPress admin area. This hook is fired when the label is being displayed for a user.
apply_filters( "user_{$name}_label", string $desc ) #
Filters a user contactmethod label.
Description
The dynamic portion of the hook name, $name
, refers to each of the keys in the contact methods array.
Parameters
- $desc
(string)The translatable label for the contact method.
Source
File: wp-admin/user-edit.php
Changelog
Version | Description |
---|---|
2.9.0 | Introduced. |