Support » Plugin: WooCommerce » make orders default page

  • Hi there,

    I hope you guys are fine & Safe.

    We don’t need to disable the new woocommerce admin, but we need to make the default woocommerce dashboard menu item when is clicked to go to the orders page as before 4.0, not the new dashboard page.

    Best Regards

Viewing 2 replies - 1 through 2 (of 2 total)
  • Plugin Support Rynald0s.a11n

    (@rynald0s)

    Automattic Happiness Engineer

    Hi @magedmoh94!

    I haven’t tested this yet, but you could see if the following code would help removing the menu item itself, which should force the user to go to “orders” link”

    add_action( 'admin_menu', 'th_remove_submenu_page' );
    function th_remove_submenu_page() {
      remove_submenu_page('woocommerce', 'admin.php?page=wc-admin');
    }

    Cheers!

    Thread Starter magedmoh94

    (@magedmoh94)

    Hi @rynald0s

    Unfortunately, We have tested it but it did not work .. even it doesn’t remove the sub menu

    Best Regards

Viewing 2 replies - 1 through 2 (of 2 total)
  • The topic ‘make orders default page’ is closed to new replies.