WP HOOKS
filtrod 5.2.0

oembed_iframe_title_attribute

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

Opis — z kodu źródłowego

Filters the title attribute of the given oEmbed HTML iframe.

Parametry

ParametrTypOpis
$titlestringThe title attribute.
$resultstringThe oEmbed HTML result.
$dataobjectA data object result from an oEmbed provider.
$urlstringThe URL of the content to be embedded.

Wywołanie

Rejestracja callbackaphp
// rejestracja funkcji zwrotnej — podaj liczbę argumentów!
add_filter( 'oembed_iframe_title_attribute', 'twoja_funkcja', 10, 4 );

function twoja_funkcja($param_1, $param_2, $param_3, $param_4) {
	// Twój kod
}

Popularne w tej kategorii