Automattic\WooCommerce\Internal\Admin\Orders

PageController::output()publicWC 1.0

Outputs content for the current orders screen.

Method of the class: PageController{}

No Hooks.

Return

null. Nothing (null).

Usage

$PageController = new PageController();
$PageController->output(): void;

PageController::output() code WC 8.7.0

public function output(): void {
	switch ( $this->current_action ) {
		case 'edit_order':
		case 'new_order':
			$this->order_edit_form->display();
			break;
		case 'list_orders':
		default:
			$this->orders_table->prepare_items();
			$this->orders_table->display();
			break;
	}
}