Automattic\WooCommerce\Internal\Admin\Notes

CouponPageMoved::disable_legacy_menu_for_new_install()publicWC 1.0

Disable legacy coupon menu when installing for the first time.

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

Хуков нет.

Возвращает

null. Ничего.

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

$CouponPageMoved = new CouponPageMoved();
$CouponPageMoved->disable_legacy_menu_for_new_install();

Код CouponPageMoved::disable_legacy_menu_for_new_install() WC 7.3.0

public function disable_legacy_menu_for_new_install() {
	$this->display_legacy_menu( false );
}