Automattic\WooCommerce\Internal\Admin\Orders
ListTable::current_action
Gets the current action selected from the bulk actions dropdown.
Method of the class: ListTable{}
No Hooks.
Returns
String|false. The action name. False if no action was selected.
Usage
$ListTable = new ListTable(); $ListTable->current_action();
ListTable::current_action() ListTable::current action code WC 10.5.0
public function current_action() {
if ( ! empty( $_REQUEST['delete_all'] ) ) {
return 'delete_all';
}
return parent::current_action();
}