User Role Sync

This add-on copies the users, and their roles, from a source blog to other blogs in the network.

Screenshots

Notes

Users are added, and their roles set to the same as the original blog, on each child blog.

Users are not removed from the child blog.

The sync can be called programmatically:

broadcast_user_role_sync()->sync_user_roles( [ 'blogs' => 82 ] );

The call takes other options also:

  • exclude is an array of user IDs to exclude
  • include is an array of user IDs to include
  • role__in is an array of role slugs that the returned users must have
  • role__not_in is an array of role slugs that the returned users may not have

Where to buy

This add-on is a part of the following packs:

Leave a Reply

Your email address will not be published. Required fields are marked *