WP_Posts_List_Table::ajax_user_can() –

You appear to be a bot. Output may be restricted

Description

Usage

$bool = WP_Posts_List_Table::ajax_user_can();

Parameters

Returns

bool

Source

File name: wordpress/wp-admin/includes/class-wp-posts-list-table.php
Lines:

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

 View on GitHub View on Trac