????JFIF??x?x????'
| Server IP : 104.21.30.238 / Your IP : 216.73.216.87 Web Server : LiteSpeed System : Linux premium151.web-hosting.com 4.18.0-553.44.1.lve.el8.x86_64 #1 SMP Thu Mar 13 14:29:12 UTC 2025 x86_64 User : tempvsty ( 647) PHP Version : 8.0.30 Disable Function : NONE MySQL : OFF | cURL : ON | WGET : ON | Perl : ON | Python : ON | Sudo : OFF | Pkexec : OFF Directory : /././././proc/thread-self/cwd/wp-content/plugins/malcare-security/form_testing/handlers/ |
Upload File : |
<?php
if (!defined('ABSPATH')) exit;
if (!class_exists('BVWPFormHandler')) :
class BVWPFormHandler {
private $form_id;
private $bypass_params = array();
public function __construct($form_id, $bypass_params) {
$this->form_id = $form_id;
$this->bypass_params = $bypass_params;
}
public function bypass() {
if (array_key_exists('should_bypass_captcha', $this->bypass_params)) {
$this->bypassCaptcha();
}
if (array_key_exists('should_bypass_email', $this->bypass_params)) {
$this->bypassEmail();
}
}
public function bypassCaptcha() {
add_filter('wpforms_process_bypass_captcha', '__return_true', PHP_INT_MAX);
}
public function bypassEmail() {
add_filter('wpforms_entry_email', '__return_false', PHP_INT_MAX);
}
}
endif;