public static function CleantalkHelper::api_method__get_2s_blacklists_db in Anti Spam by CleanTalk 7.4
Same name and namespace in other branches
- 7.5 src/CleantalkHelper.php \CleantalkHelper::api_method__get_2s_blacklists_db()
1 call to CleantalkHelper::api_method__get_2s_blacklists_db()
File
- src/
CleantalkHelper.php, line 295
Class
- CleantalkHelper
- Cleantalk's hepler class
Code
public static function api_method__get_2s_blacklists_db($api_key, $do_check = true) {
$request = array(
'method_name' => '2s_blacklists_db',
'auth_key' => $api_key,
);
$result = self::api_send_request($request);
$result = $do_check ? self::api_check_response($result, '2s_blacklists_db') : $result;
return $result;
}