can_edit_network


can_edit_network ( $network_id )

Parameters:
  • (int) $network_id The network ID to check.
Returns:
  • (bool) True if network can be edited, otherwise false.
Defined at:

Description

Whether or not we can edit this network from this page.

By default editing of network is restricted to the Network Admin for that $network_id. This function allows for this to be overridden.

Related Functions

get_network, wp_get_network, get_networks, upgrade_network, install_network

Top Google Results

User discussions

wpseek mobile