filtrod 5.2.0
oembed_iframe_title_attribute
Opis — z kodu źródłowego
Filters the title attribute of the given oEmbed HTML iframe.
Parametry
| Parametr | Typ | Opis |
|---|---|---|
$title | string | The title attribute. |
$result | string | The oEmbed HTML result. |
$data | object | A data object result from an oEmbed provider. |
$url | string | The 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
}
// 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