WP HOOKS
akcjadynamicznyod 3.0.0

delete_transient_{$transient}

Args 1Plik wp-includes/option.php

Opis — z kodu źródłowego

Fires immediately before a specific transient is deleted.

The dynamic portion of the hook name, $transient, refers to the transient name.

Parametry

ParametrTypOpis
$transientstringTransient name.

Wywołanie

Rejestracja callbackaphp
// rejestracja funkcji zwrotnej
add_action( 'delete_transient_{$transient}', 'twoja_funkcja' );

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

Popularne w tej kategorii