| Server IP : 170.10.162.208 / Your IP : 216.73.216.38 Web Server : LiteSpeed System : Linux altar19.supremepanel19.com 4.18.0-553.69.1.lve.el8.x86_64 #1 SMP Wed Aug 13 19:53:59 UTC 2025 x86_64 User : deltahospital ( 1806) PHP Version : 7.4.33 Disable Function : NONE MySQL : OFF | cURL : ON | WGET : ON | Perl : ON | Python : ON | Sudo : OFF | Pkexec : OFF Directory : /proc/self/root/usr/local/sitepad/editor/site-data/plugins/loginizer-security/main/ |
Upload File : |
<?php
if(!defined('ABSPATH')){
die('HACKING ATTEMPT!');
}
add_shortcode('loginizer_pro_recaptcha', 'loginizer_pro_recaptcha_shortcode');
function loginizer_pro_recaptcha_shortcode(){
global $loginizer;
ob_start();
if((is_user_logged_in() && empty($loginizer['captcha_user_hide'])) || !is_user_logged_in()){
loginizer_cap_form();
}
return ob_get_clean();
}
function loginizer_pro_cf7_enable_shortcodes($content){
return do_shortcode($content);
}
// Captcha Verify
function loginizer_pro_cf7_check_if_shortcode_exists($contact_form, &$abort, $submission){
if(!is_object($contact_form) || !method_exists($contact_form, 'prop') || !is_object($submission) || !method_exists($submission, 'set_response')){
return;
}
$form_html = $contact_form->prop('form');
if(strpos($form_html, '[loginizer_pro_recaptcha]') === false || loginizer_cap_verify()){
return;
}
// Abort the form submission
$abort = true;
// Set an error response message to show in Contact Form 7
$submission->set_response(__('The CAPTCHA verification failed. Please try again.', 'loginizer-security'));
}