WP Manifestindependent plugin directory
manifest / developer / wp-cli-plugin-active-on-sites

WP-CLI Plugin Active on Sites

A WP-CLI command to list all sites in a Multisite network that have activated a given plugin, and which aren't active on any site

by Ian Dunn · github.com/iandunn/wp-cli-plugin-active-on-sites · website

45stars
783composer installs
6forks

Install

No release zip yet. The repository archive installs, but the folder name will carry the branch suffix and updates will not flow:

wp plugin install https://github.com/iandunn/wp-cli-plugin-active-on-sites/archive/refs/heads/main.zip

Also on Packagist as iandunn/wp-cli-plugin-active-on-sites:

composer require iandunn/wp-cli-plugin-active-on-sites

From the readme

WP-CLI Plugin Active on Sites A WP-CLI command to list all sites in a Multisite network that have activated a given plugin. Examples / Usage Find all sites where a specific plugin is active: Find all installed plugins that aren't active on any site: See wp help plugin active-on-sites for details specifying fields, output format, etc. Installing 1. Ensure your composer.json has composer/installers and an installer-paths entry for type:wordpress-plugin. Most Composer-managed WordPress projects already have this. 2. Install the plugin: 3. Activate the plugin: Local Development When run inside a LocalWP shell, composer test routes to bin/behat-localwp, which auto-detects the MySQL socket. Outside LocalWP (e.g. CI), it falls back to run-behat-tests.

Read the full README on GitHub →