user_(name)_label filter-hookWP 2.9.0

Filters a user contactmethod label.

The dynamic portion of the hook name, $name, refers to each of the keys in the contact methods array.

Usage

add_filter( 'user_(name)_label', 'wp_kama_user_name_label_filter' );
function wp_kama_user_name_label_filter( $desc ){
	// filter...

	return $desc;
}
$desc(string)
The translatable label for the contact method.

Changelog

Since 2.9.0 Introduced.

Where the hook is called

In file: /wp-admin/user-edit.php
user_(name)_label
wp-admin/user-edit.php 563
echo apply_filters( "user_{$name}_label", $desc );

Where the hook is used in WordPress

Usage not found.