Remove Dashboard button from menu in my account page – WooCommerce
This requires 2 different hooked functions: The first function will remove the first my account menu item (which is the dashboard). The second function will redirect the default my account dashboard page to the first my account endpoint. The code: // Remove the first menu item (the dashboard) add_filter( ‘woocommerce_account_menu_items’, ‘account_menu_items_callback’ ); function account_menu_items_callback( $items … Read more