Core Function
View Source on Trac ↗ can_edit_network()
can_edit_network( mixed $network_id ) Determines whether or not this network from this page can be edited.
Parameters 1 required
| Name / Type | Description |
|---|---|
| $network_id int | The network ID to check. Required |
Return Value
(bool)
True if network can be edited, false otherwise.
Function Information
Since Version
3.1.0
Source File
wp-admin/includes/ms.php
Advertisement