You can use the antispambot()
function for this.
Example:
<a href="https://wordpress.stackexchange.com/questions/22957/<?php echo antispambot("mailto:[email protected]?subject=Hello there'); ?>">Some link text</a>
You can use the antispambot()
function for this.
Example:
<a href="https://wordpress.stackexchange.com/questions/22957/<?php echo antispambot("mailto:[email protected]?subject=Hello there'); ?>">Some link text</a>