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.


Top ↑

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'] );
		}
	}


Top ↑

Changelog

Changelog
VersionDescription
5.6.0Introduced.

The content displayed on this page has been created in part by processing WordPress source code files which are made available under the GPLv2 (or a later version) license by theĀ Free Software Foundation. In addition to this, the content includes user-written examples and information. All material is subject to review and curation by the WPPaste.com community.