WP HOOKS
filtrod 2.7.0

admin_comment_types_dropdown

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

Opis — z kodu źródłowego

Filters the comment types shown in the drop-down menu on the Comments list table.

Parametry

ParametrTypOpis
$comment_typesstring[]Array of comment type labels keyed by their name.

Wywołanie

Rejestracja callbackaphp
// rejestracja funkcji zwrotnej
add_filter( 'admin_comment_types_dropdown', 'twoja_funkcja' );

function twoja_funkcja($param_1) {
	// Twój kod
}

Popularne w tej kategorii