W3cubDocs

/WordPress

apply_filters( ‘can_edit_network’, bool $result, int $network_id )

Filters whether this network can be edited from this page.

Parameters

$resultbool
Whether the network can be edited from this page.
$network_idint
The network ID to check.

Source

return apply_filters( 'can_edit_network', $result, $network_id );

Changelog

Version Description
3.1.0 Introduced.

© 2003–2024 WordPress Foundation
Licensed under the GNU GPLv2+ License.
https://developer.wordpress.org/reference/hooks/can_edit_network