Server IP : 162.0.217.223 / Your IP : 216.73.216.150 Web Server : LiteSpeed System : Linux premium269.web-hosting.com 4.18.0-553.lve.el8.x86_64 #1 SMP Mon May 27 15:27:34 UTC 2024 x86_64 User : mypckeys ( 1539) PHP Version : 8.1.33 Disable Function : NONE MySQL : OFF | cURL : ON | WGET : ON | Perl : ON | Python : ON | Sudo : OFF | Pkexec : OFF Directory : /home/mypckeys/public_html/wp-content/plugins/hide-my-wp/models/compatibility/ |
Upload File : |
<?php /** * Compatibility Class * * @file The WpDefender Model file * @package HMWP/Compatibility/WpDefender */ defined('ABSPATH') || die('Cheatin\' uh?'); class HMWP_Models_Compatibility_WpDefender extends HMWP_Models_Compatibility_Abstract { public function __construct() { parent::__construct(); add_action('login_form_defender-verify-otp', function () { if (!isset($_SERVER['REQUEST_METHOD']) || 'POST' !== $_SERVER['REQUEST_METHOD'] ) { return; } $_POST['_wpnonce'] = wp_create_nonce('verify_otp'); }, 9); } public function hookFrontend() { add_filter('wd_mask_login_enable', '__return_false', PHP_INT_MAX, 0); } }