Automattic\WooCommerce\Internal\Admin\Orders
PageController::output
Outputs content for the current orders screen.
Method of the class: PageController{}
No Hooks.
Returns
null. Nothing (null).
Usage
$PageController = new PageController(); $PageController->output(): void;
PageController::output() PageController::output code WC 10.8.1
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;
}
}