WP_Application_Passwords_List_Table::column_default()
Generates content for a single row of the table
Method of the class: WP_Application_Passwords_List_Table{}
Hooks from the method
Return
null
. Nothing (null).
Usage
// protected - for code of main (parent) or child class $result = $this->column_default( $item, $column_name );
- $item(array) (required)
- The current item.
- $column_name(string) (required)
- The current column name.
Changelog
Since 5.6.0 | Introduced. |
WP_Application_Passwords_List_Table::column_default() WP Application Passwords List Table::column default code WP 6.6.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 ); }