heartbeat_send

过滤钩子


apply_filters( 'heartbeat_send', $response, $screen_id )
参数
  • (array)
    $response
    The Heartbeat response.
    Required:
  • (string)
    $screen_id
    The screen ID.
    Required:
定义位置
  • wp-admin/includes/ajax-actions.php
    , line 3476
引入
3.6.0
弃用

Filters the Heartbeat response sent.

$response = apply_filters( 'heartbeat_send', $response, $screen_id );