WordPress at Your Fingertips
function is not described

WP_Posts_List_Table::ajax_user_can() public WP 1.0

{} It's a 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();

Code of WP_Posts_List_Table::ajax_user_can() WP 5.8.2

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