Uses
Uses | Description |
---|---|
wp-admin/includes/class-wp-list-table.php: WP_List_Table::current_action() | Gets the current action selected from the bulk actions dropdown. |
(string)
File: wp-admin/includes/class-wp-terms-list-table.php
public function current_action() { if ( isset( $_REQUEST['action'] ) && isset( $_REQUEST['delete_tags'] ) && ( 'delete' === $_REQUEST['action'] || 'delete' === $_REQUEST['action2'] ) ) { return 'bulk-delete'; } return parent::current_action(); }
© 2003–2019 WordPress Foundation
Licensed under the GNU GPLv2+ License.
https://developer.wordpress.org/reference/classes/wp_terms_list_table/current_action