Laravel Community Tools by Tighten
Back to Recipes

List WP Users (Requires WP-CLI)

vmitchell85 un-tested

After changing to the default Forge installation directory (/home/forge) the script loops over every folder and if a "wp-config.php" file exists it prints the folder name, then runs the `wp user list` command to print out all the users

bash

Comments

No comments yet.

Log in to leave a comment.