On this page
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. View all references
public function ajax_user_can() {
die( 'function WP_List_Table::ajax_user_can() must be overridden in a subclass.' );
}
Related
Used By
| Used By | Description |
|---|---|
| wp_ajax_search_install_plugins() wp-admin/includes/ajax-actions.php | Ajax handler for searching plugins to install. |
| wp_ajax_search_plugins() wp-admin/includes/ajax-actions.php | Ajax handler for searching plugins. |
| wp_ajax_fetch_list() wp-admin/includes/ajax-actions.php | Ajax handler for fetching a list table. |
Changelog
| Version | Description |
|---|---|
| 3.1.0 | Introduced. |
© 2003–2022 WordPress Foundation
Licensed under the GNU GPLv2+ License.
https://developer.wordpress.org/reference/classes/wp_list_table/ajax_user_can