public static function RemoteCalls::check in Anti Spam by CleanTalk 9.1.x
Same name and namespace in other branches
- 8.4 src/lib/Cleantalk/Common/RemoteCalls.php \Cleantalk\Common\RemoteCalls::check()
* Checking if the current request is the Remote Call * *
Return value
bool
1 call to RemoteCalls::check()
- FirewallUpdater::update in src/
lib/ Cleantalk/ Common/ Firewall/ FirewallUpdater.php
File
- src/
lib/ Cleantalk/ Common/ RemoteCalls.php, line 59
Class
Namespace
Cleantalk\CommonCode
public static function check() {
return Get::get('spbc_remote_call_token') && Get::get('spbc_remote_call_action') && Get::get('plugin_name') && in_array(Get::get('plugin_name'), array(
'antispam',
'anti-spam',
'apbct',
));
}