can_edit_network filter-hook . WP 3.1.0
Filters whether this network can be edited from this page.
Usage
add_filter( 'can_edit_network', 'filter_function_name_6340', 10, 2 ); function filter_function_name_6340( $result, $network_id ){ // filter... return $result; }
- $result(true/false)
- Whether the network can be edited from this page.
- $network_id(int)
- The network ID to check.
Changelog
Since 3.1.0 | Introduced. |
Where the hook is called
can_edit_network
wp-admin/includes/ms.php 832
return apply_filters( 'can_edit_network', $result, $network_id );