Hooks 是 WordPress 中允许代码在特定预定义点交互或修改其他代码的机制。文档提供了 Action 和 Filter 钩子的参考指南,并引导开发者查阅 Plugin Developer Handbook 以获取详细使用信息。
Hooks are a way for one piece of code to interact/modify another piece of code at specific, pre-defined spots.
You can read more about how to use Hooks in the Plugin Developer Handbook.
The reference guides below are a list of action and filter hooks available in WordPress.