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. Ничего (null).

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

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

Код CouponPageMoved::disable_legacy_menu_for_new_install() WC 8.5.2

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