How can I list only sites that use a particular theme or plugin?
[*] WP CLI is the easiest option here. First, we want an array/list we can store the desired sites in: results=() Then, we get a list of all sites as a variable, and loop over them: blogs=$(wp site list –fields=”blog_id” –format=”csv”) for entry in $blogs do if [ “${entry}” == “blog_id” ]; then continue # … Read more