public function Cleantalk::isAllowMessage in Anti Spam by CleanTalk 8.4
Same name and namespace in other branches
- 9.1.x src/lib/Cleantalk/Antispam/Cleantalk.php \Cleantalk\Antispam\Cleantalk::isAllowMessage()
Function checks whether it is possible to publish the message
Parameters
CleantalkRequest $request:
Return value
type
File
- src/
lib/ Cleantalk/ Antispam/ Cleantalk.php, line 119
Class
- Cleantalk
- Cleantalk class create request
Namespace
Cleantalk\AntispamCode
public function isAllowMessage(CleantalkRequest $request) {
$request = $this
->filterRequest($request);
$msg = $this
->createMsg('check_message', $request);
return $this
->httpRequest($msg);
}