Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/iandunn/wp-cli-plugin-active-on-sites
A WP-CLI command to list all sites in a Multisite network that have activated a given plugin
https://github.com/iandunn/wp-cli-plugin-active-on-sites
Last synced: 29 days ago
JSON representation
A WP-CLI command to list all sites in a Multisite network that have activated a given plugin
- Host: GitHub
- URL: https://github.com/iandunn/wp-cli-plugin-active-on-sites
- Owner: iandunn
- Created: 2016-07-29T06:22:54.000Z (over 8 years ago)
- Default Branch: master
- Last Pushed: 2022-11-18T18:35:32.000Z (about 2 years ago)
- Last Synced: 2024-10-03T12:33:21.680Z (about 2 months ago)
- Language: PHP
- Size: 8.79 KB
- Stars: 44
- Watchers: 4
- Forks: 6
- Open Issues: 2
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
README
WP-CLI Plugin Active on Sites
===============================A [WP-CLI](http://wp-cli.org/) command to list all sites in a Multisite network that have activated a given plugin.
## Installing
`wp package install iandunn/wp-cli-plugin-active-on-sites`
## Usage
`wp plugin active-on-sites `
See `wp help plugin active-on-sites` for details specifying fields, output format, etc.
## Example
```shell
> wp plugin active-on-sites eu-cookie-law-widgetChecking each site 100% [==================================================] 0:02 / 0:03
Sites where eu-cookie-law-widget is active:
+---------+----------------------------------------+
| blog_id | url |
+---------+----------------------------------------+
| 320 | http://2014.madrid.wordcamp.test/ |
| 371 | http://2014.paris.wordcamp.test/ |
| 413 | http://2015.london.wordcamp.test/ |
| 464 | http://2015.milano.wordcamp.test/ |
| 522 | http://2016.geneva.wordcamp.test/ |
| 571 | http://2016.belfast.wordcamp.test/ |
| 654 | http://2017.europe.wordcamp.test/ |
+---------+----------------------------------------+
```