Automattic\WooCommerce\Internal\Admin\ProductReviews

ReviewsListTable::current_action()publicWC 1.0

Returns the current action select in bulk actions menu.

This is overridden in order to support delete_all for use in ReviewsListTable::process_bulk_action()

WP_Comments_List_Table::current_action() for reference.

Метод класса: ReviewsListTable{}

No Hooks.

Return

String|false.

Usage

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

Code of ReviewsListTable::current_action() WC 7.1.0

public function current_action() {
	if ( isset( $_REQUEST['delete_all'] ) || isset( $_REQUEST['delete_all2'] ) ) {
		return 'delete_all';
	}

	return parent::current_action();
}