WP_Application_Passwords_List_Table::get_columns()publicWP 5.6.0

Gets the list of columns.

Method of the class: WP_Application_Passwords_List_Table{}

No Hooks.

Return

String[]. Array of column titles keyed by their column name.

Usage

$WP_Application_Passwords_List_Table = new WP_Application_Passwords_List_Table();
$WP_Application_Passwords_List_Table->get_columns();

Changelog

Since 5.6.0 Introduced.

WP_Application_Passwords_List_Table::get_columns() code WP 6.6.2

public function get_columns() {
	return array(
		'name'      => __( 'Name' ),
		'created'   => __( 'Created' ),
		'last_used' => __( 'Last Used' ),
		'last_ip'   => __( 'Last IP' ),
		'revoke'    => __( 'Revoke' ),
	);
}