Automattic\WooCommerce\Internal\Admin\Orders

PageController::handle_load_page_action()privateWC 1.0

Perform initialization for the current action.

Method of the class: PageController{}

No Hooks.

Return

null. Nothing (null).

Usage

// private - for code of main (parent) class only
$result = $this->handle_load_page_action();

PageController::handle_load_page_action() code WC 8.7.0

private 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}"}();
	}
}