Automattic\WooCommerce\Internal\StockNotifications\Admin

MenusController::init │ public │ WC 1.0

Init.

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

Хуков нет.

Возвращает

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

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

$MenusController = new MenusController();
$MenusController->init( $notifications_page ): void;
$notifications_page(NotificationsPage) (обязательный)
Notifications page.

Код MenusController::init() WC 11.2.2

final public function init( NotificationsPage $notifications_page ): void {
	$this->notifications_page = $notifications_page;
}