Created
September 15, 2017 15:29
-
-
Save tsquez/f8bdbe00cc9fd8ef06fb9535b5ea6dfb to your computer and use it in GitHub Desktop.
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
// Register User Contact Methods | |
function custom_user_contact_methods( $user_contact_method ) { | |
$user_contact_method['facebook'] = __( 'Facebook Username', 'text_domain' ); | |
$user_contact_method['twitter'] = __( 'Twitter Username', 'text_domain' ); | |
return $user_contact_method; | |
} | |
add_filter( 'user_contactmethods', 'custom_user_contact_methods' ); |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment