You are here

function noticePaidTill in Anti Spam by CleanTalk 7

Same name and namespace in other branches
  1. 8 cleantalk.module \noticePaidTill()
  2. 7.2 cleantalk.module \noticePaidTill()

Function gets information about renew notice

Parameters

string api_key:

Return value

type

File

./cleantalk.module, line 1019
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;
}