filtrod 4.0.0
oembed_remote_get_args
Opis — z kodu źródłowego
Filters oEmbed remote get arguments.
Parametry
| Parametr | Typ | Opis |
|---|---|---|
$args | array | oEmbed remote get arguments. |
$url | string | URL to be inspected. |
Wywołanie
Rejestracja callbackaphp
// rejestracja funkcji zwrotnej — podaj liczbę argumentów!
add_filter( 'oembed_remote_get_args', 'twoja_funkcja', 10, 2 );
function twoja_funkcja($param_1, $param_2) {
// Twój kod
}
// rejestracja funkcji zwrotnej — podaj liczbę argumentów!
add_filter( 'oembed_remote_get_args', 'twoja_funkcja', 10, 2 );
function twoja_funkcja($param_1, $param_2) {
// Twój kod
}Popularne w tej kategorii