WordPress action hook

woocommerce_account_dashboard

Defined by WooCommerce and fired by 21 plugins in total, running on 7.1M+ sites between them.

“My Account dashboard.”

How to use woocommerce_account_dashboard

It's an action: your callback runs at that point. Nothing needs to be returned. Add this to your theme's functions.php or a small custom plugin:

functions.php
add_action( 'woocommerce_account_dashboard', function() {
	// Your code runs here.
}, 10, 1 );

Argument names come from WooCommerce's source. Other plugins may pass different values: check the call in the plugin you're targeting below.

21 plugins that fire woocommerce_account_dashboard

Sorted by active installs. Each entry shows where the plugin calls the hook and what it passes.

  1. WooCommerce icon WooCommerce7+ million installs do_action( 'woocommerce_account_dashboard' ) templates/myaccount/dashboard.php:65
  2. Booster for WooCommerce icon Booster for WooCommerce30,000+ installs do_action( 'woocommerce_account_dashboard' ) includes/class-wcj-my-account.php:428
  3. King Addons for Elementor icon King Addons for Elementor10,000+ installs do_action( 'woocommerce_account_dashboard' ) includes/widgets/Woo_My_Account_Dashboard/Woo_My_Account_Dashboard.php:238
  4. SysBasics Customize My Account for WooCommerce icon SysBasics Customize My Account for WooCommerce7,000+ installs do_action( 'woocommerce_account_dashboard' ) templates/myaccount/dashboard.php:57
  5. Donation Platform for WooCommerce: Fundraising & Donation Management icon Donation Platform for WooCommerce: Fundraising & Donation Management6,000+ installs do_action( 'woocommerce_account_dashboard' ) includes/wc-templates/myaccount/dashboard.php:64
  6. BuddyPress Integration for WooCommerce icon BuddyPress Integration for WooCommerce600+ installs do_action( 'woocommerce_account_dashboard' ) templates/shop/member/bb/dashboard.php:49
  7. ShopPress icon ShopPress600+ installs do_action( 'woocommerce_account_dashboard' ) public/templates/my-account/dashboard.php:53
  8. Vertex Addons for Elementor icon Vertex Addons for Elementor200+ installs do_action( 'woocommerce_account_dashboard' ) app/Widgets/Woo/MyAccount.php:1007
  9. WebSync Checkout for Elementor icon WebSync Checkout for Elementor50+ installs do_action( 'woocommerce_account_dashboard' ) includes/widgets/my-account/skins/class-skin-default.php:162
  10. RouteMile for WooCommerce icon RouteMile for WooCommerce40+ installs do_action( 'woocommerce_account_dashboard' ) templates/woocommerce/myaccount/dashboard.php:37
  11. Gift Card For Woocommerce icon Gift Card For Woocommerce20+ installs do_action( 'woocommerce_account_dashboard' ) templates/myaccount/phoen_giftcard_dashboard.php:53
  12. Themofy Addons for Elementor icon Themofy Addons for Elementor20+ installs do_action( 'woocommerce_account_dashboard' ) modules/woocommerce/includes/class-my-account-view.php:619
  13. Experto Dashboard for WooCommerce icon Experto Dashboard for WooCommerce10+ installs do_action( 'woocommerce_account_dashboard' ) templates/woocommerce/myaccount/dashboard.php:53
  14. Dashboard for Woo icon Dashboard for Woo10+ installs do_action( 'woocommerce_account_dashboard' ) templates/dashboard.php:147
  15. Store Addons for WooCommerce icon Store Addons for WooCommerceFewer than 10 installs do_action( 'woocommerce_account_dashboard' ) includes/Modules/templates/custom-dashboard.php:14
  16. Rinnovo Subscriptions & Licenses icon Rinnovo Subscriptions & LicensesFewer than 10 installs do_action( 'woocommerce_account_dashboard' ) templates/myaccount/dashboard.php:142
  17. AZDev Account Skin for WooCommerce icon AZDev Account Skin for WooCommerceFewer than 10 installs do_action( 'woocommerce_account_dashboard' ) templates/myaccount/dashboard.php:73
  18. ShopCurator icon ShopCuratorFewer than 10 installs do_action( 'woocommerce_account_dashboard' ) templates/woocommerce/myaccount/dashboard.php:21
  19. Vite Wholesale icon Vite WholesaleFewer than 10 installs do_action( 'woocommerce_account_dashboard' ) vitewholesale/templates/myaccount/dashboard.php:75
  20. MHM Rentiva icon MHM RentivaFewer than 10 installs do_action( 'woocommerce_account_dashboard' ) templates/woocommerce/myaccount/dashboard.php:36
  21. Codela icon CodelaFewer than 10 installs do_action( 'woocommerce_account_dashboard' ) includes/my-account-layout.php:816

Need a customisation built on this hook?

Tell us what you want to change and which plugin it's for. We'll write it, test it and send it back as a small plugin.