WP_List_Table::ajax_user_can() WordPress Method
The WP_List_Table::ajax_user_can() method is used to check whether the current user has the required capability to perform an AJAX request.
WP_List_Table::ajax_user_can() #
Checks the current user’s permissions
More Information
Can be overridden to provide some permissions functionality to your table.
Source
File: wp-admin/includes/class-wp-list-table.php
public function ajax_user_can() {
die( 'function WP_List_Table::ajax_user_can() must be overridden in a subclass.' );
}
Expand full source codeCollapse full source codeView on TracView on GitHub
Changelog
| Version | Description |
|---|---|
| 3.1.0 | Introduced. |