public static function CleantalkFuncs::_cleantalk_get_submit_time in Anti Spam by CleanTalk 9.1.x
Same name and namespace in other branches
- 8.4 src/CleantalkFuncs.php \Drupal\cleantalk\CleantalkFuncs::_cleantalk_get_submit_time()
- 8.3 src/CleantalkFuncs.php \Drupal\cleantalk\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 63
Class
- CleantalkFuncs
- Cleantalk class create request
Namespace
Drupal\cleantalkCode
public static function _cleantalk_get_submit_time($timestamp) {
return self::_cleantalk_apbct_cookies_test() == 1 && $timestamp ? time() - (int) $timestamp : null;
}