wphooks.info - heartbeat_nopriv_send

heartbeat_nopriv_send

The hook occurs in the following file:

wp-admin/includes/ajax-actions.php:
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
	}

	/**
	 * Filters Heartbeat Ajax response when no data is passed.
	 *
	 * @since 3.6.0
	 *
	 * @param array|object $response  The Heartbeat response object or array.
	 * @param string       $screen_id The screen id.
	 */
	$response = apply_filters( 'heartbeat_nopriv_send', $response, $screen_id );

	/**
	 * Fires when Heartbeat ticks in no-privilege environments.
	 *
	 * Allows the transport to be easily replaced with long-polling.
	 *
	 * @since 3.6.0
	 *
	 * @param array|object $response  The no-priv Heartbeat response.