New answers tagged

1

You can use the onUserAfterSave event, which also includes a isnew argument, like so: public function onUserAfterSave($user, $isnew, $success, $msg) { if ($isnew && $success) { // A new user was created and successully stored in the database. // Perform some action } }


Top 50 recent answers are included