W3cubDocs

/WordPress

WP_Application_Passwords_List_Table::get_columns(): string[]

Gets the list of columns.

Return

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

Source

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

Changelog

Version Description
5.6.0 Introduced.

© 2003–2024 WordPress Foundation
Licensed under the GNU GPLv2+ License.
https://developer.wordpress.org/reference/classes/wp_application_passwords_list_table/get_columns