wpseek.com
A WordPress-centric search engine for devs and theme authors



add_user_to_blog › WordPress Action Hooks

SinceMU (3.0.0)
Deprecatedn/a
do_action( 'add_user_to_blog', $user_id, $role, $blog_id )
Parameters: (3)
  • (int) $user_id User ID.
    Required: Yes
  • (string) $role User role.
    Required: Yes
  • (int) $blog_id Blog ID.
    Required: Yes
Defined at:
Codex:

Fires immediately after a user is added to a site.





Source

do_action( 'add_user_to_blog', $user_id, $role, $blog_id );