WP_Application_Passwords_List_Table::column_default()
Generates content for a single row of the table
Метод класса: WP_Application_Passwords_List_Table{}
Хуки из метода
Возвращает
null
. Ничего (null).
Использование
// protected - в коде основоного (родительского) или дочернего класса $result = $this->column_default( $item, $column_name );
- $item(массив) (обязательный)
- The current item.
- $column_name(строка) (обязательный)
- The current column name.
Список изменений
С версии 5.6.0 | Введена. |
Код WP_Application_Passwords_List_Table::column_default() WP Application Passwords List Table::column default WP 6.5.2
protected function column_default( $item, $column_name ) { /** * Fires for each custom column in the Application Passwords list table. * * Custom columns are registered using the {@see 'manage_application-passwords-user_columns'} filter. * * @since 5.6.0 * * @param string $column_name Name of the custom column. * @param array $item The application password item. */ do_action( "manage_{$this->screen->id}_custom_column", $column_name, $item ); }