function noticePaidTill in Anti Spam by CleanTalk 7.2
Same name and namespace in other branches
- 8 cleantalk.module \noticePaidTill()
- 7 cleantalk.module \noticePaidTill()
Function gets information about renew notice
Parameters
string api_key:
Return value
type
File
- ./
cleantalk.module, line 1196 - Main CleanTalk integration module functions.
Code
function noticePaidTill($api_key) {
$request = array();
$request['method_name'] = 'notice_paid_till';
$request['auth_key'] = $api_key;
$url = 'https://api.cleantalk.org';
$result = sendRawRequest($url, $request);
return $result;
}