WP_Application_Passwords_List_Table::column_created()publicWP 5.6.0

Handles the created column output.

Method of the class: WP_Application_Passwords_List_Table{}

No Hooks.

Return

null. Nothing (null).

Usage

$WP_Application_Passwords_List_Table = new WP_Application_Passwords_List_Table();
$WP_Application_Passwords_List_Table->column_created( $item );
$item(array) (required)
The current application password item.

Changelog

Since 5.6.0 Introduced.

WP_Application_Passwords_List_Table::column_created() code WP 6.5.2

public function column_created( $item ) {
	if ( empty( $item['created'] ) ) {
		echo '—';
	} else {
		echo date_i18n( __( 'F j, Y' ), $item['created'] );
	}
}