Filters whether to display network-active plugins alongside plugins active for the current site. 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.
$show
Sortie :
@param bool $show Whether to show network-active plugins. Default is whether the current
// Modifier la valeur avec le filtre 'show_network_active_plugins'
add_filter('show_network_active_plugins', 'ma_fonction_filtre', 10, 1);
function ma_fonction_filtre($show) {
// Modifier la valeur
return $show;
}
Chargement des actualités...