• I am cross posting this here since it is probably a better place to do it:
    WP StackExchange post

    I am integrating with an external authentication server using the user_register action. We manually create users via the admin panel and do not allow self registration. Now I need to handle a similar scenario but in a sub-site while using Multisite.

    I was running through a debugger and noticed that when posting a new user in multisite mode to wp-admin/user-new.php, there are no actions fired that work the same way as user_register. The closest I see is the wpmu_validate_user_signup filter but I know that is not the right place to do this.

    I log into the admin panel as a super admin, select the site via the My Sites menu, then go to Users > Add New.

    The function wpmu_signup_user does the insert and it does not contain any do_action calls

    Is this an oversight in WordPress core for not providing such an action or am I doing it wrong? If it is the former I will open a ticket about adding a new action. I am using 3.9.1

Viewing 1 replies (of 1 total)
  • Thread Starter Josh Johnston

    (@tree2054)

    Additionally, when registering this way the user is sent an activation email. The email links to wp-activate.php which does not load all plugins so I cannot hook into it on that end either.

Viewing 1 replies (of 1 total)
  • The topic ‘Multisite – How can I hook into user_registered via Admin panel?’ is closed to new replies.