WC_Admin_Menus::maybe_add_new_product_management_experience()publicWC 1.0

Maybe add new management product experience.

{} Это метод класса: WC_Admin_Menus{}

Хуков нет.

Возвращает

null. Ничего.

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

$WC_Admin_Menus = new WC_Admin_Menus();
$WC_Admin_Menus->maybe_add_new_product_management_experience();

Код WC_Admin_Menus::maybe_add_new_product_management_experience() WC 6.9.4

public function maybe_add_new_product_management_experience() {
	if ( Features::is_enabled( 'new-product-management-experience' ) ) {
		add_submenu_page( 'edit.php?post_type=product', __( 'Add New', 'woocommerce' ), __( 'Add New (MVP)', 'woocommerce' ), 'manage_woocommerce', 'admin.php?page=wc-admin&path=/add-product', '', 2 );
	}
}