Automattic\WooCommerce\Internal\Admin\Orders

ListTable::current_action()publicWC 1.0

Gets the current action selected from the bulk actions dropdown.

Method of the class: ListTable{}

No Hooks.

Return

String|false. The action name. False if no action was selected.

Usage

$ListTable = new ListTable();
$ListTable->current_action();

ListTable::current_action() code WC 8.7.0

public function current_action() {
	if ( ! empty( $_REQUEST['delete_all'] ) ) {
		return 'delete_all';
	}

	return parent::current_action();
}