WP_Theme_Install_List_Table::ajax_user_can()publicWP 1.0

Method of the class: WP_Theme_Install_List_Table{}

No Hooks.

Return

true|false.

Usage

$WP_Theme_Install_List_Table = new WP_Theme_Install_List_Table();
$WP_Theme_Install_List_Table->ajax_user_can();

WP_Theme_Install_List_Table::ajax_user_can() code WP 6.1.1

public function ajax_user_can() {
	return current_user_can( 'install_themes' );
}