WordPress как на ладони
wordpress jino
фильтр не описан

heartbeat_received хук-фильтр . WP 3.6.0

Filters the Heartbeat response received.

Использование

add_filter( 'heartbeat_received', 'filter_function_name_6083', 10, 3 );
function filter_function_name_6083( $response, $data, $screen_id ){
	// filter...

	return $response;
}
$response(array)
The Heartbeat response.
$data(array)
The $_POST data sent.
$screen_id(string)
The screen id.

Связи хука

Используется в: wp_ajax_heartbeat()

Остальные хуки из: wp_ajax_heartbeat():

Кусок кода с хуком

Фрагмент из: wp-admin/includes/ajax-actions.php WP 4.9
...
			$response['nonces_expired'] = true;
			wp_send_json( $response );
		}
	}

	if ( ! empty( $data ) ) {
		/**
		 * Filters the Heartbeat response received.
		 *
		 * @since 3.6.0
		 *
		 * @param array  $response  The Heartbeat response.
		 * @param array  $data      The $_POST data sent.
		 * @param string $screen_id The screen id.
		 */
		$response = apply_filters( 'heartbeat_received', $response, $data, $screen_id );
	}

	/**
	 * Filters the Heartbeat response sent.
	 *
	 * @since 3.6.0
	 *
	 * @param array  $response  The Heartbeat response.
	 * @param string $screen_id The screen id.
	 */
	$response = apply_filters( 'heartbeat_send', $response, $screen_id );

	/**
	 * Fires when Heartbeat ticks in logged-in environments.
	 *
...