The WPFolks app is out on iPhone and Android. Free, no ads. Download on the App Store Get it on Google Play
Skip to main content
Login Join
Snippet · Bash / Shell

Create a New Administrator

Shared by Nikul Valani · July 24, 2026

40 views
Back to Snippets

Create a new administrator user.

wp user create admin2 admin2@example.com --role=administrator --user_pass=StrongPassword123
Know a different way to do this? Add your approach as a variation so folks can compare them side by side.
Submit a variation

0 comments

Proudly supported by