ziggyfish
03-06-2017, 10:33 PM
How do I create a function which will be called when the following is called (see line 2785 in core/vb/api/user.php )?
vB::getHooks()->invoke('hookUserAfterSave', array(
'adminoverride' => $adminoverride,
'userid' => $newuserid,
'newuser' => $newuser,
'emailVerificationRequired' => $verifyEmail,
'userIsModerated' => (!$adminoverride AND $newuser AND $vboptions['moderatenewmembers'])
));
vB::getHooks()->invoke('hookUserAfterSave', array(
'adminoverride' => $adminoverride,
'userid' => $newuserid,
'newuser' => $newuser,
'emailVerificationRequired' => $verifyEmail,
'userIsModerated' => (!$adminoverride AND $newuser AND $vboptions['moderatenewmembers'])
));