WP_Posts_List_Table::ajax_user_can()publicWP 1.0

Method of the class: WP_Posts_List_Table{}

No Hooks.

Return

true|false.

Usage

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

WP_Posts_List_Table::ajax_user_can() code WP 6.6.2

public function ajax_user_can() {
	return current_user_can( get_post_type_object( $this->screen->post_type )->cap->edit_posts );
}