wpseek.com
WordPress开发者和主题制作者的搜索引擎
has_action › WordPress Function
Since2.5.0
已弃用n/a
› has_action ( $hook_name, $callback = false, $priority = false )
| 参数: (3) |
|
| 查看: | |
| 返回: |
|
| 定义在: |
|
| 文档: | |
| Change Log: |
|
Checks if any action has been registered for a hook.
When using the$callback argument, this function may return a non-boolean value
that evaluates to false (e.g. 0), so use the === operator for testing the return value.