WP_MS_Themes_List_Table::get_columns() public WP 1.0
{} Это метод класса: WP_MS_Themes_List_Table{}
Хуков нет.
Возвращает
Массив.
Использование
$WP_MS_Themes_List_Table = new WP_MS_Themes_List_Table(); $WP_MS_Themes_List_Table->get_columns();
Код WP_MS_Themes_List_Table::get_columns() WP MS Themes List Table::get columns WP 5.6.2
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;
}