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.

{} It's a method of the class: CouponPageMoved{}

No Hooks.

Return

null. Nothing.

Usage

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

Code of CouponPageMoved::disable_legacy_menu_for_new_install() WC 7.1.0

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