钩子文档

network_admin_edit_{$_GET[‘action’]}

💡 云策文档标注

概述

这是一个动态的 WordPress Hook,用于在网络管理界面中触发基于 URL 参数的处理程序动作。其名称包含动态部分,允许开发者根据请求的动作进行自定义处理。

关键要点

  • Hook 名称是动态的,基于 $_GET['action'] 参数值,例如 network_admin_edit_myaction。
  • 用于在网络管理后台执行特定动作的处理程序,如编辑或管理操作。
  • 自 WordPress 3.1.0 版本引入,适用于多站点网络环境。

📄 原文内容

Fires the requested handler action.

Description

The dynamic portion of the hook name, $_GET['action'], refers to the name of the requested action.

Source

* @since 3.1.0

Changelog

Version Description
3.1.0 Introduced.