WP_MS_Themes_List_Table::get_columns() WordPress Method
The WP_MS_Themes_List_Table::get_columns() method is used to get the list of columns for the themes list table. The columns are: 'cb', 'name', 'description', and 'action'. The 'cb' column is the checkbox column and is used to select themes for bulk actions. The 'name' column is the name of the theme. The 'description' column is the theme description. The 'action' column is the theme actions column.
WP_MS_Themes_List_Table::get_columns() #
Return
(array)
Source
File: wp-admin/includes/class-wp-ms-themes-list-table.php
public function get_columns() { $columns = array( 'cb' => '<input type="checkbox" />', 'name' => __( 'Theme' ), 'description' => __( 'Description' ), ); if ( $this->show_autoupdates ) { $columns['auto-updates'] = __( 'Automatic Updates' ); } return $columns; }
Expand full source codeCollapse full source codeView on TracView on GitHub