show_network_active_plugins WordPress Filter Hook
The show_network_active_plugins hook is a great way to keep track of which plugins are currently active on your WordPress site. This hook will give you the ability to view a list of all the active plugins on your site, as well as the date and time they were last updated. This hook is particularly useful for keeping track of plugins that are no longer actively maintained.
apply_filters( 'show_network_active_plugins', bool $show ) #
Filters whether to display network-active plugins alongside plugins active for the current site.
Description
This also controls the display of inactive network-only plugins (plugins with "Network: true" in the plugin header).
Plugins cannot be network-activated or network-deactivated from this screen.
Parameters
- $show
(bool)Whether to show network-active plugins. Default is whether the current user can manage network plugins (ie. a Super Admin).
Source
Changelog
Version | Description |
---|---|
4.4.0 | Introduced. |