WP HOOKS
filtrod 2.6.0

image_make_intermediate_size

Args 1Plik wp-includes/class-wp-image-editor-gd.phpDokumentacja WP ↗

Opis — z kodu źródłowego

Filters the name of the saved image file.

Parametry

ParametrTypOpis
$filenamestringName 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
}

Popularne w tej kategorii