BACK TO DIRECTORY
![Use the [email]...[/email] tag to wrap your email input](https://ps.w.org/antispambot/assets/screenshot-1.png?rev=993940)



Obfuscation of email via the [email]...[/email] shortcode syntax using built-in WordPress Codex functionality.
Alternative variations:
[email]user@example.com?subject=foo+bar&body=baz[/email]creates a mailto: link with subject and body pre-populated[email nolink=1]user@example.com[/email]just displays the email without a link wrapping it[email linktext="click here"]user@example.com[/email]displays the text “click here” with a link to the email address
Screenshots
![Use the [email]...[/email] tag to wrap your email input](https://ps.w.org/antispambot/assets/screenshot-1.png?rev=993940)
Use the [email]...[/email] tag to wrap your email input

This will display as an email address wrapped in a mailto: hyperlink (i.e. clickable to open a mail client)

The source code used to render this involves randomly-encoded characters, making it more difficult for spambots to harvest