Automattic\WooCommerce\Internal\Admin\Orders

COTRedirectionController::setup()publicWC 1.0

Add hooks needed to perform our magic.

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

Хуков нет.

Возвращает

null. Ничего.

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

$COTRedirectionController = new COTRedirectionController();
$COTRedirectionController->setup(): void;

Код COTRedirectionController::setup() WC 7.3.0

public function setup(): void {
	// Only take action in cases where access to the admin screen would otherwise be denied.
	self::add_action( 'admin_page_access_denied', array( $this, 'handle_hpos_admin_requests' ) );
}