filtrod 6.1.0
wp_list_authors_args
Opis — z kodu źródłowego
Filters the query arguments for the list of all authors of the site.
Parametry
| Parametr | Typ | Opis |
|---|---|---|
$query_args | array | The query arguments for get_users(). |
$parsed_args | array | The arguments passed to wp_list_authors() combined with the defaults. |
Wywołanie
Rejestracja callbackaphp
// rejestracja funkcji zwrotnej — podaj liczbę argumentów!
add_filter( 'wp_list_authors_args', 'twoja_funkcja', 10, 2 );
function twoja_funkcja($param_1, $param_2) {
// Twój kod
}
// rejestracja funkcji zwrotnej — podaj liczbę argumentów!
add_filter( 'wp_list_authors_args', 'twoja_funkcja', 10, 2 );
function twoja_funkcja($param_1, $param_2) {
// Twój kod
}Popularne w tej kategorii