Phone Numbers Encoding

To encode contact phone numbers, please open your Anti-Spam plugin's settings (WordPress Dashboard → Settings → Anti-Spam by CleanTalk → Advanced settings) and check the Encode phone numbers option.

Phone numbers encoder

Here are the requirements for the number format:

  • Must start with a "+" symbol.
  • Must contain at least 8 digits and fewer than 13 digits.
  • Spaces, parentheses, and dashes are allowed between digits.

Examples of valid formats:

  • +1 (234) 567-8901
  • +12345678901
  • +12 34 5678901
  • (234) 567-8910
  • +49 30 1234567
  • +49.30.1234567
  • +1.775.333.3330

Phone numbers formatted correctly within an <a> tag with the "tel" property will also be encoded, for example:

<a href="tel:+11234567890">Call +1 (123) 456-7890</a>

Note: To encode a mnemonic phone number (a number containing letters like 1-800-EXAMPLE), please wrap it in a shortcode by following this guide.

¿No encontró lo que buscaba? Póngase en contacto con nuestro equipo de soporte técnico para obtener ayuda.

¿Le ha resultado útil esta información?

También podría interesarle

Copied to clipboard