akcjaod 2.8.0
manage_comments_custom_column
Opis — z kodu źródłowego
Fires when the default column output is displayed for a single row.
Parametry
| Parametr | Typ | Opis |
|---|---|---|
$column_name | string | The custom column's name. |
$comment_id | string | The comment ID as a numeric string. |
Wywołanie
Rejestracja callbackaphp
// rejestracja funkcji zwrotnej — podaj liczbę argumentów!
add_action( 'manage_comments_custom_column', '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_custom_column', 'twoja_funkcja', 10, 2 );
function twoja_funkcja($param_1, $param_2) {
// Twój kod
}Popularne w tej kategorii