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.


Top ↑

Parameters

$desc

(string)The translatable label for the contact method.


Top ↑

Source

File: wp-admin/user-edit.php

View on Trac


Top ↑

Changelog

Changelog
VersionDescription
2.9.0Introduced.

The content displayed on this page has been created in part by processing WordPress source code files which are made available under the GPLv2 (or a later version) license by theĀ Free Software Foundation. In addition to this, the content includes user-written examples and information. All material is subject to review and curation by the WPPaste.com community.