Following our guide on encrypting emails in WordPress using the Cryptx plugin, there's a simpler, plugin-free alternative straight from the WordPress core. A sharp-eyed user tipped us off to the Codex, revealing the antispambot() function. This handy feature obfuscates your email address by converting each character into an HTML entity, rendering it invisible to spam bots while remaining human-readable.
To implement it, simply add this code anywhere in your theme files:
<?php echo antispambot('admin@989214.com'); ?>Replace "admin@989214.com" with your actual email address, and watch spam bots pass it by.
Source: WordPress Codex