WP HOOKS
akcjaod 6.1.0

cron_unschedule_event_error

Args 3Plik wp-cron.phpDokumentacja WP ↗

Opis — z kodu źródłowego

Fires if an error happens when unscheduling a cron event.

Parametry

ParametrTypOpis
$result\WP_ErrorThe WP_Error object.
$hookstringAction hook to execute when the event is run.
$varrayEvent data.

Wywołanie

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

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

Popularne w tej kategorii