Don’t work in my plugin
-
if(!function_exists('ct_test_message')){ include_once( ABSPATH . '/wp-content/plugins/cleantalk-spam-protect/cleantalk.php' ); } //or for some other messages (contact forms, comments etc.) $res=ct_test_message("nickname", "[email protected]", "185.100.100.58", "Name:Test"; var_dump($res);I use this code in my plugin. But I always get array(2) { [“allow”]=> int(1) [“comment”]=> NULL }.
I must get allow=0 with [email protected]
Viewing 3 replies - 1 through 3 (of 3 total)
Viewing 3 replies - 1 through 3 (of 3 total)
The topic ‘Don’t work in my plugin’ is closed to new replies.