To check if a plugin is active on individual sites within a WordPress Multisite network, you can use the is_plugin_active_for_network function. This function takes the plugin file path as an argument and returns true if the plugin is active on the network, and false if it is not.
Here is an example of how you could use this function to check if a plugin is active on individual sites within your network:
wp plugin list --status=active --network
This will show you a list of all active plugins on the network, including the ones that are active on individual sites within the network.
Related Posts:
- ‘Global’ settings page for multisite plugin
- How to do I get a list of active plugins on my wordpress blog programmatically?
- How to add field for new site-wide option on Network Settings screen?
- Making my plugin multi-site compatible
- How to tell if a plugin is multisite compatible?
- Plugin Development: WPMU or WP?
- WordPress sharding: which multi-DB plugin to use?
- Auto Load Plugin Hooks inside Must Use Plugin
- How Is Network Activate Different From Activate (by Implementation)?
- How to get the main blog’s id and db prefix from a mu plugin?
- Inherit plugin settings to new site in Multisite
- What is a Network Activated Plugin Exactly?
- How to install plugins in individual sites on a wordpress network?
- How to Check If A Plugin Is Enabled Through API?
- Fatal error: Call to undefined function wp_get_current_user()
- How to tell if plugin has been network activated
- How does WordPress Multisite know that a Plugin is installed?
- How to run Two WordPress blogs with different themes and with single database and same content
- Using Vagrant for customizable WordPress Multi-sites [closed]
- Can I enable/disable/hide plugins on a per-site basis in multisite?
- How to enable Admins to see Plugins
- Sharing Ad Revenue among Users of a Multisite in a Collaborative Model?
- While using WordPress Multisite is it possible to display data to main site from subsites?
- Prevent multisite sites from using a plugin
- Is it possible to run plugin code when a multisite blog is deleted?
- Multi domain, multi sites with different themes and content
- Getting Custom Post Type content from main-site of a Multisite
- How to assign user a role if none is present when logging in
- How do I add a widget programmatically to a newly created site (WPMU) within a plugin?
- Duplicate settings of master blog to slave blogs in WP multi-site installation
- How can a plugin run a script after being updated in MultiSite?
- Network-Wide Plugin Settings Management
- How can I list only sites that use a particular theme or plugin?
- Aggregate Summaries of Posts of Different Blogs in Multisite Instance
- Posts wont expire
- Multisite functions to communicate with individual site functions
- WordPress network: set themes and plugins for new blog
- Is there a way to share content amongst wordpress sites
- I’m trying to create security question field for my login page
- What is the function to get plugin base url in multisite?
- Unique post-id for WordPress Multisite Network
- How to install WordPress Multisite with different domains under the same subdirectory?
- How can I get a list of plugins and which blogs are using them?
- Multiple Domains with Single WordPress Install
- Multisite: Activate plugin for subsites only?
- Duplicate a Multi-Site Subdomain
- How to get last_updated and newest_blogs in WP 3.0
- Error Message from W3 Total Cache when .htaccess Rules Cannot Be Modified? [closed]
- Get list of sites that uses specific plugin or theme
- Setting up a multilingual wordpress site
- Display All Non-Used Plugins
- Multisite mu-plugins site-specific directory
- How to get popular post from across a network?
- How to make sexy bookmarks plugin work in WPMU
- How to setup a Network Plugin across the network with only my settings?
- WordPress language switcher
- Multisite Backup Plugin [closed]
- Having separate plugins and themes folder for multi-site setup
- Automatically adding post and pages to new blog setups
- Creating Custom Roles for use on a WordPress Multi-site Instance?
- Remove filter from WordPress Plugin
- Specific plugin script not working on subdomain
- Coming soon pages with rest of site in maintenance mode
- Query Shortcode from a multisite to appear on a different site?
- How to enable Admins to see Plugins
- How do plugin updates work?
- Automatization for automatization
- How know the “admin” blog from wordpress multisite?
- Multiple Accounts on 1 email – Multisite
- Show image or notification on specific blog in multisite
- Force Network Activated Plugin to Run After Site Level Plugins
- Is there going to an issue running different features of WP site in different subdomains?
- Plugin on all site except primary one
- WordPress MU LDAP connection failures
- How to set the default options on an existing plugin in a WP MU new user install
- Custom plugin breaks css.php on Multisite
- Check if user is in a group of another site within multisite network [closed]
- Plugin menu replaced by another plugin?
- WPMU site in subdirectory: When I clone a site with NS Cloner Pro plugin, how do I remove the subdirectory from the URL?
- Integrating planning tools in wordpress
- WordPress internationalization + domains
- Internationalization of Blog Posts
- Active Plugins for current blog in WP Multisite Network? [duplicate]
- WordPress multisite haml templates
- Plugin De/Activation Not Firing On MultiSite install
- Trying to output a “Most visited blogs” list in wordpress multisite
- Pulling sub-site content into specific pages
- Managing database tables in WordPress multisite
- I want to create a Visual Recipe site on WordPress, any suggestions or tips on how i can do it? [closed]
- Add custom fields in the new and edit the site forms without touching the WP core
- Frontpage Admin Bar Disappeared
- why i cannot see some plugins while they are enabled on network admin page?
- Turning Existing Eccommerce Site into Multi-SIte
- turn off WooCommerce for a site in a multi site environment
- Change email notification language based on the site language in WPForms
- WordPress Multisite Plugin Activation Issue
- Change homepage logo for each site multisite setup
- WordPress multisite on different subfolders can’t install plugin via network
- How to configure redis object cache for multiple sites in the same server without errors
- How to resolve Multisite Speed issues