wpseek.com
WordPress开发者和主题制作者的搜索引擎
add_action › WordPress Function
Since1.2.0
已弃用n/a
› add_action ( $hook_name, $callback, $priority = 10, $accepted_args = 1 )
参数: (4) |
|
返回: |
|
定义在: |
|
文档: |
Adds a callback function to an action hook.
Actions are the hooks that the WordPress core launches at specific points during execution, or when specific events occur. Plugins can specify that one or more of its PHP functions are executed at these points, using the Action API.