akcjaod 3.0.0
clean_attachment_cache
Opis — z kodu źródłowego
Fires after the given attachment's cache is cleaned.
Parametry
| Parametr | Typ | Opis |
|---|---|---|
$id | int | Attachment ID. |
Wywołanie
Rejestracja callbackaphp
// rejestracja funkcji zwrotnej
add_action( 'clean_attachment_cache', 'twoja_funkcja' );
function twoja_funkcja($param_1) {
// Twój kod
}
// rejestracja funkcji zwrotnej
add_action( 'clean_attachment_cache', 'twoja_funkcja' );
function twoja_funkcja($param_1) {
// Twój kod
}Popularne w tej kategorii