<?php
class WP_Themes_List_Table extends WP_List_Table {
protected $search_terms = array();
public $features = array();
public function __construct( $args = array() ) {
parent::__construct(
array(
'ajax' => true,
'screen' => isset( $args['screen'] ) ? $args['screen'] : null,
)
);
}
public function ajax_user_can() {
return current_user_can( 'switch_themes' );