WP HOOKS
akcjaod 2.8.0

manage_comments_custom_column

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

Opis — z kodu źródłowego

Fires when the default column output is displayed for a single row.

Parametry

ParametrTypOpis
$column_namestringThe custom column's name.
$comment_idstringThe 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
}

Popularne w tej kategorii