Opens in a new tab
A picture of Jeff Brigman
I CODE TODAY FOR
A BETTER TOMORROW

Glossary Term

wp_get_user_contact_methods()

3 tags 1 category

wp_get_user_contact_methods() — Sets up the user contact methods. Default contact methods were removed for new installations in WordPress 3.6 and completely removed from the codebase in WordPress 6.9. Use the ‘user_contactmethods’ filter to add or remove contact methods.

Inputs: $user (WP_User|null): Optional. WP_User object.

Returns string[]: Array of contact method labels keyed by contact method.

Term Connections

Explore related terms connected by shared tags, shared categories, and relationship phrases. This map loads only when it comes into view.

Loading term connections…