user_contactmethods

Advertisement

Summery Summery

Filters the user contact methods.

Syntax Syntax

apply_filters( 'user_contactmethods', string[] $methods, WP_User $user )

Parameters Parameters

$methods

Array of contact method labels keyed by contact method.

$user

WP_User object.

Source Source

File: wp-includes/user.php

Advertisement

Changelog Changelog

Changelog
Version Description
2.9.0 Introduced.

Advertisement

Leave a Reply