You are here

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

Same name and namespace in other branches
  1. 7.5 src/CleantalkFuncs.php \CleantalkFuncs::_cleantalk_get_checkjs_value()

Cleantalk inner function - gets JavaScript checking value.

2 calls to CleantalkFuncs::_cleantalk_get_checkjs_value()
CleantalkFuncs::_cleantalk_check_spam in src/CleantalkFuncs.php
Cleantalk inner function - performs antispam checking.
cleantalk_init in ./cleantalk.module
Implements hook_init()

File

src/CleantalkFuncs.php, line 452

Class

CleantalkFuncs
Cleantalk class create request

Code

public static function _cleantalk_get_checkjs_value() {
  return md5(variable_get('cleantalk_authkey', ''));
}