public static function CleantalkHelper::api_method__get_account_status in Anti Spam by CleanTalk 7.5
Same name and namespace in other branches
- 7.4 src/CleantalkHelper.php \CleantalkHelper::api_method__get_account_status()
* Function gets information about account * *
Parameters
string api_key: * @param string perform check flag * @return mixed (STRING || array('error' => true, 'error_string' => STRING))
File
- src/
CleantalkHelper.php, line 407
Class
- CleantalkHelper
- Cleantalk's hepler class
Code
public static function api_method__get_account_status($api_key, $do_check = true) {
$request = array(
'method_name' => 'get_account_status',
'auth_key' => $api_key,
);
$result = self::api_send_request($request);
$result = $do_check ? self::api_check_response($result, 'get_account_status') : $result;
return $result;
}