User Contact Methods Generator

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:

The function used in the code.
Translation file Text Domain. Optional.
Slug used in the code. Lowercase, with no spaces.
A short descriptive summary of the menu.
Slug used in the code. Lowercase, with no spaces.
A short descriptive summary of the menu.
Slug used in the code. Lowercase, with no spaces.
A short descriptive summary of the menu.
Slug used in the code. Lowercase, with no spaces.
A short descriptive summary of the menu.
Slug used in the code. Lowercase, with no spaces.
A short descriptive summary of the menu.
  Save Snippet
// Register User Contact Methods
function imabu_formas_de_contacto( $user_contact_method ) {

	$user_contact_method['whatsapp'] = __( 'Whatsapp', 'imabu_formas_de_contacto' );
	$user_contact_method['facebook'] = __( 'Facebook', 'imabu_formas_de_contacto' );
	$user_contact_method['instagram'] = __( 'Instagram', 'imabu_formas_de_contacto' );
	$user_contact_method['gmail'] = __( 'Gmail empresarial', 'imabu_formas_de_contacto' );
	$user_contact_method['twitter'] = __( 'Twitter', 'imabu_formas_de_contacto' );

	return $user_contact_method;

}
add_filter( 'user_contactmethods', 'imabu_formas_de_contacto' );