wpseek.com
WordPress开发者和主题制作者的搜索引擎



heartbeat_tick › WordPress动作钩子

Since3.6.0
已弃用n/a
do_action( 'heartbeat_tick', $response, $screen_id )
参数: (2)
  • (array) $response The Heartbeat response.
    Required: Yes
  • (string) $screen_id The screen ID.
    Required: Yes
定义在:
文档:

Fires when Heartbeat ticks in logged-in environments.

Allows the transport to be easily replaced with long-polling.





源码

do_action( 'heartbeat_tick', $response, $screen_id );