show_network_active_plugins

FILTER wp-admin\includes\class-wp-plugins-list-table.php (ligne 179) github
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.

Paramètres

Entrée :
$show
Sortie :
@param bool $show Whether to show network-active plugins. Default is whether the current

Utilisation

// 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;
}

Actualités

Chargement des actualités...