filtrod 2.8.0
nocache_headers
Opis — z kodu źródłowego
Filters the cache-controlling HTTP headers that are used to prevent caching.
Parametry
| Parametr | Typ | Opis |
|---|---|---|
$headers | array | Header names and field values. |
Wywołanie
Rejestracja callbackaphp
// rejestracja funkcji zwrotnej
add_filter( 'nocache_headers', 'twoja_funkcja' );
function twoja_funkcja($param_1) {
// Twój kod
}
// rejestracja funkcji zwrotnej
add_filter( 'nocache_headers', 'twoja_funkcja' );
function twoja_funkcja($param_1) {
// Twój kod
}Popularne w tej kategorii