Automattic\WooCommerce\Internal\Admin\Orders

PageController::handle_load_page_action()publicWC 1.0

Perform initialization for the current action.

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

Хуков нет.

Возвращает

null. Ничего (null).

Использование

$PageController = new PageController();
$PageController->handle_load_page_action();

Код PageController::handle_load_page_action() WC 9.7.1

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