General Method 1 Method 2 Method 3 Method 4 Method 5 Overview Use this tool to create custom contact-methods for WordPress user-profile. Usage Fill in the user-friendly form. Click the “Update Code” button. Copy the code to your project. Or save it as a snippet and share with the community. Examples If you are still learning how to use this tool, check out the following examples: Address, City, Country, Tel, Fax Facebook, Twitter, Google+1, Skype Function Name The function used in the code. Text Domain Translation file Text Domain. Optional. Method 1 Name Slug used in the code. Lowercase, with no spaces. Method 1 Description A short descriptive summary of the menu. Method 2 Name Slug used in the code. Lowercase, with no spaces. Method 2 Description A short descriptive summary of the menu. Method 3 Name Slug used in the code. Lowercase, with no spaces. Method 3 Description A short descriptive summary of the menu. Method 4 Name Slug used in the code. Lowercase, with no spaces. Method 4 Description A short descriptive summary of the menu. Method 5 Name Slug used in the code. Lowercase, with no spaces. Method 5 Description A short descriptive summary of the menu. Update Code Save Snippet
// Register User Contact Methods function custom_user_contact_methods( $user_contact_method ) { return $user_contact_method; } add_filter( 'user_contactmethods', 'custom_user_contact_methods' );