WPDev.one
Core Function
View Source on Trac ↗

is_plugin_active_for_network()

is_plugin_active_for_network( mixed $plugin )

Determines whether the plugin is active for the entire network.

Parameters 1 required

Name / Type Description
$plugin
string

Path to the plugin file relative to the plugins directory.

Required

Return Value

(bool)
True if active for the network, otherwise false.

Function Information

Since Version
3.0.0
Source File
wp-admin/includes/plugin.php
Advertisement