WP_Application_Passwords_List_Table::column_created() WordPress Method
The WP_Application_Passwords_List_Table::column_created() method is used to output the "Created" column in the table of application passwords. This column displays the date and time when the application password was created.
WP_Application_Passwords_List_Table::column_created( array $item ) #
Handles the created column output.
Parameters
- $item
(array)(Required)The current application password item.
Source
File: wp-admin/includes/class-wp-application-passwords-list-table.php
public function column_created( $item ) { if ( empty( $item['created'] ) ) { echo '—'; } else { echo date_i18n( __( 'F j, Y' ), $item['created'] ); } }
Expand full source codeCollapse full source codeView on TracView on GitHub
Changelog
Version | Description |
---|---|
5.6.0 | Introduced. |