$hook

动作钩子


do_action_ref_array( $hook, $v['args'] )
参数
  • (string)
    $hook
    Name of the hook that was scheduled to be fired.
    Required:
  • (array)
    $args
    The arguments to be passed to the hook.
    Required:
定义位置
  • wp-cron.php
    , line 188
引入
2.1.0
弃用

Fires scheduled events.

do_action_ref_array( $hook, $v['args'] );