WP HOOKS
filtrod 3.6.0

heartbeat_received

Args 3Plik wp-admin/includes/ajax-actions.phpDokumentacja WP ↗

Opis — z kodu źródłowego

Filters the Heartbeat response received.

Parametry

ParametrTypOpis
$responsearrayThe Heartbeat response.
$dataarrayThe $_POST data sent.
$screen_idstringThe screen ID.

Wywołanie

Rejestracja callbackaphp
// rejestracja funkcji zwrotnej — podaj liczbę argumentów!
add_filter( 'heartbeat_received', 'twoja_funkcja', 10, 3 );

function twoja_funkcja($param_1, $param_2, $param_3) {
	// Twój kod
}

Popularne w tej kategorii