user_contactmethods

Advertisement

Summery Summery

Filters the user contact methods.

Syntax Syntax

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

Parameters Parameters

$methods

(string[]) Array of contact method labels keyed by contact method.

$user

(WP_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

This site uses Akismet to reduce spam. Learn how your comment data is processed.