akcjaod 2.5.0
manage_comments_nav
Opis — z kodu źródłowego
Fires after the Filter submit button for comment types.
Parametry
| Parametr | Typ | Opis |
|---|---|---|
$comment_status | string | The comment status name. Default 'All'. |
$which | string | The 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
}
// 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