Is there an event like onUserCreation() for the backend in J3? So if an administrator creates a new user, specified code (e. g. from plugin) is executed. In the API guides I didn't find any obviously relevant content for this. Do you know if there's any event like this?

1 Answer 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
  • And this method is valid for the backend as well?
    – alve89
    Oct 20, 2021 at 9:43
  • 1
    @alve89, yes, both backend and frontend
    – Lodder
    Oct 20, 2021 at 10:11

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service and acknowledge you have read our privacy policy.

Not the answer you're looking for? Browse other questions tagged or ask your own question.