filtrod 5.1.0
comments_list_table_query_args
Opis — z kodu źródłowego
Filters the arguments for the comment query in the comments list table.
Parametry
| Parametr | Typ | Opis |
|---|---|---|
$args | array | An array of get_comments() arguments. |
Wywołanie
Rejestracja callbackaphp
// rejestracja funkcji zwrotnej
add_filter( 'comments_list_table_query_args', 'twoja_funkcja' );
function twoja_funkcja($param_1) {
// Twój kod
}
// rejestracja funkcji zwrotnej
add_filter( 'comments_list_table_query_args', 'twoja_funkcja' );
function twoja_funkcja($param_1) {
// Twój kod
}Popularne w tej kategorii