You are here

public static function CleantalkFuncs::_cleantalk_get_submit_time in Anti Spam by CleanTalk 7.4

Same name and namespace in other branches
  1. 7.5 src/CleantalkFuncs.php \CleantalkFuncs::_cleantalk_get_submit_time()
1 call to CleantalkFuncs::_cleantalk_get_submit_time()
CleantalkFuncs::_cleantalk_check_spam in src/CleantalkFuncs.php
Cleantalk inner function - performs antispam checking.

File

src/CleantalkFuncs.php, line 16

Class

CleantalkFuncs
Cleantalk class create request

Code

public static function _cleantalk_get_submit_time() {
  return self::_cleantalk_apbct_cookies_test() == 1 ? time() - (int) self::_apbct_getcookie('apbct_timestamp') : null;
}