开发者 |
achbed
znaeff |
---|---|
更新时间 | 2017年2月10日 21:24 |
PHP版本: | 4.0.0 及以上 |
WordPress版本: | 4.3.1 |
版权: | GPLv2 |
botnet-blocker
to the /wp-content/plugins/
directory<?php global $wp_plugin_bnblocker; if ( method_exists( $wp_plugin_bnblocker, 'is_botnet' ) ) { if ( $wp_plugin_bnblocker->is_botnet() ) { /* bot detected, do something */ } } ?>
Because I haven't found any decent free plugins that uses spam blocking lists that present a decent API. This plugin is designed to give you a quick and easy way to check the spam lists and do something creative without locking you into a "block all" scheme. It's there if you want it, but it's not required.