Skip to content

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

7 Commits
 
 
 
 

Repository files navigation

Add User to All Sites WordPress CLI Command

A WP-CLI command for WordPress multisite that adds an existing user to every site in the network in one go.

Options

<user>…

The user login, user email or user ID of the user(s) to update.

role

A string used to set the user’s role on each site. Defaults to subscriber if not set. If the user already exists on a site they will keep their existing role.

Examples

wp add-user-to-all-sites 123 --role=administrator
wp add-user-to-all-sites bob --role=editor
wp add-user-to-all-sites bob@example.com

About

No description, website, or topics provided.

Resources

Stars

1 star

Watchers

1 watching

Forks

Releases

Packages

Contributors

Languages