filtrod 2.6.0
widget_links_args
Opis — z kodu źródłowego
Filters the arguments for the Links widget.
Parametry
| Parametr | Typ | Opis |
|---|---|---|
$widget_links_args | array | An array of arguments to retrieve the links list. |
$instance | array | The settings for the particular instance of the widget. |
Wywołanie
Rejestracja callbackaphp
// rejestracja funkcji zwrotnej — podaj liczbę argumentów!
add_filter( 'widget_links_args', 'twoja_funkcja', 10, 2 );
function twoja_funkcja($param_1, $param_2) {
// Twój kod
}
// rejestracja funkcji zwrotnej — podaj liczbę argumentów!
add_filter( 'widget_links_args', 'twoja_funkcja', 10, 2 );
function twoja_funkcja($param_1, $param_2) {
// Twój kod
}Popularne w tej kategorii