Easily integrate CleanTalk’s anti-spam cloud into any WordPress plugin.
CleanTalk creates an easy way to install anti-spam in every WordPress plugin. CleanTalk plugins give the strongest protection to your personal blog or e-commerce site. Our plugins get the maximum number of positive reviews on WordPress for their convenience and prompt service.
-
Clone this SDK and place directory antispam-integration-sdk into your plugin directory, for example like below
your_plugin/
antispam-integration-sdk/
apbct_sdk.php
your-plugin.php
-
Attach antispam-integration-sdk/apbct_sdk.php in your main plugin file, for example like below
require_once plugin_dir_path( __FILE__ ) . 'antispam-integration-sdk/apbct_sdk.php';
-
To show somewhere an independent form for saving the api-key, for example like below
echo apbct_sdk_render_key_form();
-
Add Anti-Spam verification in the form processing method, for example like below
if ($response = apbct_sdk_check_is_spam($_POST)) {
wp_send_json_error($response);
}
It would also be interesting
- How to Update the CleanTalk Anti-Spam Plugin for Joomla 3.x – 6.xHow to Update the CleanTalk Anti-Spam Plugin for Joomla 3.x – 6.x How to Update the CleanTalk...
- All Installation Manuals of CleanTalk Anti-Spam ServiceCleanTalk Anti-Spam Installation Guides Here you can find our plugin installation guides for popular...
- How to install the CleanTalk Anti-Spam on Joomla 4.x – 6.xHow to Install the CleanTalk Anti-Spam Plugin for Joomla 3.x – 6.x How to Install the CleanTalk...