can_edit_network
apply_filters( ‘can_edit_network’, bool $result , int $network_id )
筛选挂钩:筛选是否可以从此页编辑此网络。
Filter Hook: Filters whether this network can be edited from this page.
参数(Parameters)
参数 | 类型 | 说明 |
---|---|---|
$result | (bool) | 是否可以从此页编辑网络。 |
$network_id | (int) | 要检查的网络ID。 |
源码(Source)
更新版本 | 源码位置 | 使用 | 被使用 |
---|---|---|---|
3.1.0 | wp-admin/includes/ms.php:830 | 1 | 0 |
can_edit_network 为WP2原创文章,链接:https://www.wp2.cn/hook/can_edit_network/