WP HOOKS
akcjaod 2.5.0

manage_comments_nav

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

Opis — z kodu źródłowego

Fires after the Filter submit button for comment types.

Parametry

ParametrTypOpis
$comment_statusstringThe comment status name. Default 'All'.
$whichstringThe location of the extra table nav markup: Either 'top' or 'bottom'.

Wywołanie

Rejestracja callbackaphp
// rejestracja funkcji zwrotnej — podaj liczbę argumentów!
add_action( 'manage_comments_nav', 'twoja_funkcja', 10, 2 );

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

Popularne w tej kategorii