Creating a new WordPress user from the command line with wp-cli

[display-posts taxonomy=”category” tax_term=”current” posts_per_page=”200″]

wp user create sunny [email protected] --role=administrator --user_pass=PASSWORD

It may be simpler to update an existing user. e.g.

wp user update 1 --display_name=Admin --user_pass=PASS


Posted

in