Quantcast
Channel: WordPress › Support » Forum: Hacks - Recent Topics
Viewing all articles
Browse latest Browse all 8245

Tree2054 on "Multisite - How can I hook into user_registered via Admin panel?"

$
0
0

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 all articles
Browse latest Browse all 8245

Trending Articles