filtrod 2.6.0
image_make_intermediate_size
Opis — z kodu źródłowego
Filters the name of the saved image file.
Parametry
| Parametr | Typ | Opis |
|---|---|---|
$filename | string | Name of the file. |
Wywołanie
Rejestracja callbackaphp
// rejestracja funkcji zwrotnej
add_filter( 'image_make_intermediate_size', 'twoja_funkcja' );
function twoja_funkcja($param_1) {
// Twój kod
}
// rejestracja funkcji zwrotnej
add_filter( 'image_make_intermediate_size', 'twoja_funkcja' );
function twoja_funkcja($param_1) {
// Twój kod
}Popularne w tej kategorii