Directory / plugin

WP-AntiSpambot

v0.1 · by Dustin Filippini

Adds a shortcode which converts email addresses to HTML entities to block spambots.

About this plugin

This plugin will add a shortcode that can be used to stop spambots from harvesting emails entered into your WordPress editor while creating pages or posts.

To use, just wrap your email address in the [email] shortcode:

[email][email protected][/email]

The result will be a hyperlinked email address that can be clicked on to send email.

The plugin uses WordPress’s built-in antispambot() function which converts email address characters to HTML entities which are not read by spambots, but can be viewed properly in the browser. For more info on the WordPress function read up in the Codex – https://codex.wordpress.org/Function_Reference/antispambot

Plugin tags