Heray-Was-Here
Server : Apache
System : Linux hybrid3195.ca.ns.planethoster.net 3.10.0-1160.119.1.el7.tuxcare.els19.x86_64 #1 SMP Mon Mar 31 17:29:00 UTC 2025 x86_64
User : alliancerealtynb ( 1004)
PHP Version : 7.4.33
Disable Function : noop
Directory :  /home/alliancerealtynb/public_html/wp-content/plugins/honeypot/includes/integration/

Upload File :
current_dir [ Writeable ] document_root [ Writeable ]

 

Current File : /home/alliancerealtynb/public_html/wp-content/plugins/honeypot/includes/integration/wpa_wpforms.php
<?php
if ( ! defined( 'ABSPATH' ) ) exit; 
add_filter( 'wpforms_process_before', 'wpa_wpforms_extra_validation', 10, 2 );

function wpa_wpforms_extra_validation($entry, $form_data){
	if (wpa_check_is_spam($_POST)){
		do_action('wpa_handle_spammers','wpforms', $_POST);
		wpforms()->process->errors[ $form_data['id'] ][ '0' ] = $GLOBALS['wpa_error_message'];
	}
}

Hry