WP HOOKS
filtrod 4.4.0

oembed_min_max_width

Args 1Plik wp-includes/embed.phpDokumentacja WP ↗

Opis — z kodu źródłowego

Filters the allowed minimum and maximum widths for the oEmbed response.

Parametry

ParametrTypOpis
$min_max_widtharray{ Minimum and maximum widths for the oEmbed response. @type int $min Minimum width. Default 200. @type int $max Maximum width. Default 600. }

Wywołanie

Rejestracja callbackaphp
// rejestracja funkcji zwrotnej
add_filter( 'oembed_min_max_width', 'twoja_funkcja' );

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

Popularne w tej kategorii