WP_Users_List_Table::get_default_primary_column_name() WordPress Method
The WP_Users_List_Table::get_default_primary_column_name() method is used to get the name of the primary column for the users list table. By default, this is the "user_login" column.
WP_Users_List_Table::get_default_primary_column_name() #
Gets the name of the default primary column.
Return
(string) Name of the default primary column, in this case, 'username'.
Source
File: wp-admin/includes/class-wp-users-list-table.php
protected function get_default_primary_column_name() { return 'username'; }
Expand full source codeCollapse full source codeView on TracView on GitHub
Changelog
Version | Description |
---|---|
4.3.0 | Introduced. |