Hooks for Changing the Contacts Encoder Phrases
Please note that the Anti-Spam plugin must be installed and activated in order to the special hooks in WordPress.
Since the 6.52 version of the Anti-Spam by Cleantalk plugin, it is possible to change some of the Contacts Encoder phrases. There are three phrases available for modification via hooks. These phrases appear in a modal window during the decoding process:
- The magic is on the way!
- The complete one is ...
- Please wait a few seconds while we decode the contact data.
The following hooks can edit those phrases:
- apbct__ee_wait_for_decoding_text
- apbct__ee_original_email_text
- apbct__ee_decoding_process_text
To change the phrases add the hook handlers to your functions.php file.
The example:
add_filter('apbct__ee_wait_for_decoding_text', function ($_original_text) {
return 'Other text for `wait for decoding`';
});
add_filter('apbct__ee_decoding_process_text', function ($_original_text) {
return 'Other text for `decoding process`';
});
add_filter('apbct__ee_original_email_text', function ($_original_text) {
return 'Other text for `original email`';
});
The modified phrases are shown in the screenshots.
Encoding Contact Data with a Shortcode and Hook for Third-Party Plugins
Apart from the Contacts Encoder option you use the CleanTalk shortcode and hook features to encode and protect contact data. The guide is here.
It would also be interesting
- Encode contact data WordPress optionHow to Hide (Encode) contacts on WordPress website from Crawlers and Bots Email Addresses Encoding Phone...
- Anti-Flood and Anti-Crawler (Bot Protection) for WebsItes by CleanTalkCleanTalk Anti-Flood and Anti-Crawler (Bot protection) Options CleanTalk Anti-Crawler (Bot Protection) CleanTalk...