akcjadynamicznyod 5.6.0
manage_{$this->screen->id}_custom_column
Args 2Plik wp-admin/includes/class-wp-application-passwords-list-table.php
Opis — z kodu źródłowego
Fires for each custom column in the Application Passwords list table.
Custom columns are registered using the {@see 'manage_application-passwords-user_columns'} filter.
Parametry
| Parametr | Typ | Opis |
|---|---|---|
$column_name | string | Name of the custom column. |
$item | array | The application password item. |
Wywołanie
Rejestracja callbackaphp
// rejestracja funkcji zwrotnej — podaj liczbę argumentów!
add_action( 'manage_{$this->screen->id}_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_{$this->screen->id}_custom_column', 'twoja_funkcja', 10, 2 );
function twoja_funkcja($param_1, $param_2) {
// Twój kod
}Popularne w tej kategorii