Automattic\WooCommerce\Internal\Admin\Orders
PageController::handle_load_page_action
Perform initialization for the current action.
Method of the class: PageController{}
No Hooks.
Returns
null. Nothing (null).
Usage
$PageController = new PageController(); $PageController->handle_load_page_action();
PageController::handle_load_page_action() PageController::handle load page action code WC 10.6.2
public function handle_load_page_action() {
$screen = get_current_screen();
$screen->post_type = $this->order_type;
if ( method_exists( $this, 'setup_action_' . $this->current_action ) ) {
$this->{"setup_action_{$this->current_action}"}();
}
}