heartbeat_nopriv_send

过滤钩子


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

Filters Heartbeat Ajax response in no-privilege environments when no data is passed.

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