Skip to content

Instantly share code, notes, and snippets.

@colorful-tones
Created November 17, 2017 15:00
Show Gist options
  • Save colorful-tones/cc0b24621f7465402e6b1e54291d5a38 to your computer and use it in GitHub Desktop.
Save colorful-tones/cc0b24621f7465402e6b1e54291d5a38 to your computer and use it in GitHub Desktop.
[Active Theme in Multisite] List the active theme per site in a Multisite install #wp-cli #bash #multisite
#!/bin/bash
for site in $(wp site list --field=url)
do
wp theme list --status=active --url=$site
done
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment