Automatic API keys not working
-
Hi team! We are currently integrating Cleantalk for a couple hundred websites but are facing issues with the automated API key retrieval.
We have followed the documentation and tried it on 4 websites, but it never works correctly. Even when we visit the Cleantalk page, while having put the code below in the functions.php of the active theme, the administrator email also doesn’t show our email. I’ve pasted the code below for reference. We tested in current active theme and our own plugin which is installed on every site, but neither work:
add_filter('apbct_is_get_api_key', function ($_is_get_api_key) { return true; }); add_filter('apbct_get_api_key_email', function ($_admin_email) { return '[email protected]'; });Would save a lot of time if we can automatically set these values so we do not have to login to each website. I assume when it fetches the API key it will also configure itself?
The topic ‘Automatic API keys not working’ is closed to new replies.