WP HOOKS
filtrod 2.8.0

manage_users_custom_column

Args 3Plik wp-admin/includes/class-wp-users-list-table.phpDokumentacja WP ↗

Opis — z kodu źródłowego

Filters the display output of custom columns in the Users list table.

Parametry

ParametrTypOpis
$outputstringCustom column output. Default empty.
$column_namestringColumn name.
$user_idintID of the currently-listed user.

Wywołanie

Rejestracja callbackaphp
// rejestracja funkcji zwrotnej — podaj liczbę argumentów!
add_filter( 'manage_users_custom_column', 'twoja_funkcja', 10, 3 );

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

Popularne w tej kategorii