Core Function
View Source on Trac ↗ is_network_only_plugin()
is_network_only_plugin( mixed $plugin ) Checks for "Network: true" in the plugin header to see if this should
Parameters 1 required
| Name / Type | Description |
|---|---|
| $plugin string | Path to the plugin file relative to the plugins directory. Required |
Return Value
(bool)
True if plugin is network only, false otherwise.
Function Information
Since Version
3.0.0
Source File
wp-admin/includes/plugin.php
Advertisement