captcha_actionlist_hook

Last updated by raio Comments (1)

Hi all !
I have problem .I need to stop spamers in my blogs !
I have this

function captcha_actionlist_hook($hook, $entity_type, $returnvalue, $params)
{
if (!is_array($returnvalue))
$returnvalue = array();

$returnvalue[] = 'register';
$returnvalue[] = 'user/requestnewpassword';

return $returnvalue;
}

I need to create captcha in my blogs . How to add captcha for blogs width this function?

 

function captcha_actionlist_hook($hook, $entity_type, $returnvalue, $params)
{
if (!is_array($returnvalue))
$returnvalue = array();

$returnvalue[] = 'register';
$returnvalue[] = 'user/requestnewpassword';

How to register $returnvalue[] = "BLOGS" ????

return $returnvalue;
}
Ty for support !

Beginning Developers

Beginning Developers

This space is for newcomers, who wish to build a new plugin or to customize an existing one to their liking

Navigation