Automattic\WooCommerce\Internal\Admin\Orders
ListTable::current_action()
Gets the current action selected from the bulk actions dropdown.
Метод класса: ListTable{}
Хуков нет.
Возвращает
Строку|false
. The action name. False if no action was selected.
Использование
$ListTable = new ListTable(); $ListTable->current_action();
Код ListTable::current_action() ListTable::current action WC 8.1.1
public function current_action() { if ( ! empty( $_REQUEST['delete_all'] ) ) { return 'delete_all'; } return parent::current_action(); }