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.


Top ↑

Parameters

$show

(bool)Whether to show network-active plugins. Default is whether the current user can manage network plugins (ie. a Super Admin).


Top ↑

Source

File: wp-admin/includes/class-wp-plugins-list-table.php

View on Trac



Top ↑

Changelog

Changelog
VersionDescription
4.4.0Introduced.

The content displayed on this page has been created in part by processing WordPress source code files which are made available under the GPLv2 (or a later version) license by theĀ Free Software Foundation. In addition to this, the content includes user-written examples and information. All material is subject to review and curation by the WPPaste.com community.