FileMaster
Search
Toggle Dark Mode
Home
/
.
/
wp-content
/
plugins
/
cleantalk-spam-protect
/
lib
/
Cleantalk
/
Antispam
/
Integrations
Edit File: LearnPress.php
<?php namespace Cleantalk\Antispam\Integrations; class LearnPress extends IntegrationBase { public function getDataForChecking($argument) { if ( ! empty($_POST) ) { $data = ct_gfa(apply_filters('apbct__filter_post', $_POST)); $data['register'] = true; return $data; } return null; } /** * @param $message * * @throw Exception * @psalm-suppress UnusedVariable */ public function doBlock($message) { throw new \Exception($message); } }
Save
Back