If you’ve wanted to customize Woocommerce dashboard pages but didn’t know how then this is the perfect tutorial for you!

I’ll show you how to tweak the code for WooCommerce, how to add new WooCommerce Account pages as well as edit the welcome message.

Want to go further and use Elementor Pro to build something truly unique?

No problem, I’ve got you covered there too.

★ ELEMENTOR PRO: http://bit.ly/2u3mzYX

Download the custom dashboard template: https://bit.ly/2L0YWK3

Custom Code:

Take your WordPress website and skills to the next level!

WooCommerce My Account Navigation

/**
* Edit my account menu order
*/

function my_account_menu_order() {
    $menuOrder = array(
       ‘dashboard’ => __( ‘Dashboard’, ‘woocommerce’ ),
       ‘orders’ => __( ‘Orders’, ‘woocommerce’ ),
       ‘downloads’ => __( ‘Download’, ‘woocommerce’ ),
       ‘edit-address’ => __( ‘Addresses’, ‘woocommerce’ ),
       ‘edit-account’ => __( ‘Account Details’, ‘woocommerce’ ),
       ‘customer-logout’ => __( ‘Logout’, ‘woocommerce’ ),
  );
 return $menuOrder;
}
add_filter ( ‘woocommerce_account_menu_items’, ‘my_account_menu_order’ );

WooCommerce Register Endpoint

/**
* Register new endpoints to use inside My Account page.
*/
     add_action( ‘init’, ‘my_account_new_endpoints’ );
     function my_account_new_endpoints() {
     add_rewrite_endpoint( ‘rewards’, EP_ROOT | EP_PAGES );
}

WooCommerce Endpoint Page Link

/**
* Get new endpoint content
*/

// Rewards
 add_action( ‘woocommerce_account_rewards_endpoint’,
    ‘rewards_endpoint_content’ );
    function rewards_endpoint_content() {
 get_template_part(‘my-account-rewards’);
}

CSS Code

.woocommerce-MyAccount-navigation {
display: none;
}

.woocommerce-account .woocommerce-MyAccount-content {
width: 100%;
}

► THE TOOLS I LOVE ◄
If you like what we do and would like to support us, please consider using these affiliate links when purchasing any of the plugins covered in our tutorials. Thank you for your support.

► WORDPRESS VISUAL PAGE BUILDERS ◄
★ ELEMENTOR PRO: http://bit.ly/2u3mzYX
★ Brizy Pro: https://bit.ly/2Ji97r8
★ WPBakery Page Builder (Formerly VISUAL COMPOSER): https://bit.ly/2NVbVNP
★ DIVI 3 Page Builder: http://bit.ly/2HiiDcE

► WORDPRESS THEMES ◄
★ GeneratePress Premium: http://bit.ly/2Ydn1SE
★ OCEANWP: http://bit.ly/2fRHBr0
★ DIVI Theme: http://bit.ly/2G8JMiA
★ Astra Pro: http://bit.ly/2zruoKn

► WORDPRESS TOOLS ◄
★ SMART SLIDER 3: http://bit.ly/2G0G1vB
★ CSSHERO: http://bit.ly/2qbrRl6
★ SLIDER REVOLUTION 6 – jo.my/sr6

► WORDPRESS PLUGINS ◄

★ SEOPress Pro: https://jo.my/seopress

► SUBSCRIBE ◄
http://bit.ly/2rX7rhu

► LETS CONNECT: ◄
https://twitter.com/WPTutz

SUPPORT: Our website offers additional information and perks. Please check it out! https://wptuts.co.uk

Enjoy this article and want more?

Why not join our weekly newsletter and we’ll let you know when we add more awesome Wordpress tutorials and articles?