开发者 | amit5204 |
---|---|
更新时间 | 2022年12月14日 00:13 |
PHP版本: | 3.0.1 及以上 |
WordPress版本: | 6.1.1 |
版权: | GPLv2 or later |
版权网址: | 版权信息 |
[antispambot]...[/antispambot]
shortcode syntax using built-in Wordpress Codex functionality. It works within widgets as well.
Alternative variations:
[antispambot]user@example.com?subject=foo+bar&body=baz[/antispambot]
creates a mailto: link with subject and body pre-populated[antispambot nolink=1]user@example.com[/antispambot]
just displays the email without a link wrapping it[antispambot linktext="click here"]user@example.com[/antispambot]
displays the text "click here" with a link to the email addressThis plugin converts email addresses within the [antispambot]...[/antispambot]
shortcodes using the built-in Wordpress Codex antispambot() function. The function converts email address characters to HTML entities. It converts a random selection of characters each time, making it more difficult for spam-bots to "harvest" the email address programmatically.
The only foolproof way to ensure email addresses do not get harvested from a web page is to not include them on the page in any form. However, the method created by the Wordpress developers that we employ here should provide reasonable protection against all but the most concerted automatic-harvesting efforts.