WP HOOKS
filtrod 5.1.0

comments_list_table_query_args

Args 1Plik wp-admin/includes/class-wp-comments-list-table.phpDokumentacja WP ↗

Opis — z kodu źródłowego

Filters the arguments for the comment query in the comments list table.

Parametry

ParametrTypOpis
$argsarrayAn 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
}

Popularne w tej kategorii