Title: can_edit_network
Published: April 25, 2014
Last modified: May 20, 2026

---

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

## In this article

 * [Parameters](https://developer.wordpress.org/reference/hooks/can_edit_network/?output_format=md#parameters)
 * [Source](https://developer.wordpress.org/reference/hooks/can_edit_network/?output_format=md#source)
 * [Related](https://developer.wordpress.org/reference/hooks/can_edit_network/?output_format=md#related)
 * [Changelog](https://developer.wordpress.org/reference/hooks/can_edit_network/?output_format=md#changelog)

[ Back to top](https://developer.wordpress.org/reference/hooks/can_edit_network/?output_format=md#wp--skip-link--target)

Filters whether this network can be edited from this page.

## 󠀁[Parameters](https://developer.wordpress.org/reference/hooks/can_edit_network/?output_format=md#parameters)󠁿

 `$result`bool

Whether the network can be edited from this page.

`$network_id`int

The network ID to check.

## 󠀁[Source](https://developer.wordpress.org/reference/hooks/can_edit_network/?output_format=md#source)󠁿

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

[View all references](https://developer.wordpress.org/reference/files/wp-admin/includes/ms.php/)
[View on Trac](https://core.trac.wordpress.org/browser/tags/7.0/src/wp-admin/includes/ms.php#L834)
[View on GitHub](https://github.com/WordPress/wordpress-develop/blob/7.0/src/wp-admin/includes/ms.php#L834-L834)

## 󠀁[Related](https://developer.wordpress.org/reference/hooks/can_edit_network/?output_format=md#related)󠁿

| Used by | Description | 
| [can_edit_network()](https://developer.wordpress.org/reference/functions/can_edit_network/)`wp-admin/includes/ms.php` |

Determines whether or not this network from this page can be edited.

  |

## 󠀁[Changelog](https://developer.wordpress.org/reference/hooks/can_edit_network/?output_format=md#changelog)󠁿

| Version | Description | 
| [3.1.0](https://developer.wordpress.org/reference/since/3.1.0/) | Introduced. |

## User Contributed Notes

You must [log in](https://login.wordpress.org/?redirect_to=https%3A%2F%2Fdeveloper.wordpress.org%2Freference%2Fhooks%2Fcan_edit_network%2F)
before being able to contribute a note or feedback.