WordPress at a glance
function is not described

WP_Media_List_Table::get_default_primary_column_name() WP 4.3.0

Gets the name of the default primary column.

This is a method of the class: WP_Media_List_Table

No Hooks.


String. Name of the default primary column, in this case, 'title'.


$WP_Media_List_Table = new WP_Media_List_Table();
$var = $WP_Media_List_Table->get_default_primary_column_name();


Since 4.3.0 Introduced.

Code of WP Media List Table::get default primary column name: wp-admin/includes/class-wp-media-list-table.php WP 5.4.2

protected function get_default_primary_column_name() {
	return 'title';