WP_Comments_List_Table::ajax_user_can()publicWP 1.0

Method of the class: WP_Comments_List_Table{}

No Hooks.

Return

true|false.

Usage

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

WP_Comments_List_Table::ajax_user_can() code WP 6.5.4

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