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:
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.
-
WooCommerce7+ million installs
do_action( 'woocommerce_account_dashboard' )templates/myaccount/dashboard.php:65 -
Booster for WooCommerce30,000+ installs
do_action( 'woocommerce_account_dashboard' )includes/class-wcj-my-account.php:428 -
King Addons for Elementor10,000+ installs
do_action( 'woocommerce_account_dashboard' )includes/widgets/Woo_My_Account_Dashboard/Woo_My_Account_Dashboard.php:238 -
SysBasics Customize My Account for WooCommerce7,000+ installs
do_action( 'woocommerce_account_dashboard' )templates/myaccount/dashboard.php:57 -
Donation Platform for WooCommerce: Fundraising & Donation Management6,000+ installs
do_action( 'woocommerce_account_dashboard' )includes/wc-templates/myaccount/dashboard.php:64 -
BuddyPress Integration for WooCommerce600+ installs
do_action( 'woocommerce_account_dashboard' )templates/shop/member/bb/dashboard.php:49 -
ShopPress600+ installs
do_action( 'woocommerce_account_dashboard' )public/templates/my-account/dashboard.php:53 -
Vertex Addons for Elementor200+ installs
do_action( 'woocommerce_account_dashboard' )app/Widgets/Woo/MyAccount.php:1007 -
WebSync Checkout for Elementor50+ installs
do_action( 'woocommerce_account_dashboard' )includes/widgets/my-account/skins/class-skin-default.php:162 -
RouteMile for WooCommerce40+ installs
do_action( 'woocommerce_account_dashboard' )templates/woocommerce/myaccount/dashboard.php:37 -
Gift Card For Woocommerce20+ installs
do_action( 'woocommerce_account_dashboard' )templates/myaccount/phoen_giftcard_dashboard.php:53 -
Themofy Addons for Elementor20+ installs
do_action( 'woocommerce_account_dashboard' )modules/woocommerce/includes/class-my-account-view.php:619 -
Experto Dashboard for WooCommerce10+ installs
do_action( 'woocommerce_account_dashboard' )templates/woocommerce/myaccount/dashboard.php:53 -
Dashboard for Woo10+ installs
do_action( 'woocommerce_account_dashboard' )templates/dashboard.php:147 -
Store Addons for WooCommerceFewer than 10 installs
do_action( 'woocommerce_account_dashboard' )includes/Modules/templates/custom-dashboard.php:14 -
Rinnovo Subscriptions & LicensesFewer than 10 installs
do_action( 'woocommerce_account_dashboard' )templates/myaccount/dashboard.php:142 -
AZDev Account Skin for WooCommerceFewer than 10 installs
do_action( 'woocommerce_account_dashboard' )templates/myaccount/dashboard.php:73 -
ShopCuratorFewer than 10 installs
do_action( 'woocommerce_account_dashboard' )templates/woocommerce/myaccount/dashboard.php:21 -
Vite WholesaleFewer than 10 installs
do_action( 'woocommerce_account_dashboard' )vitewholesale/templates/myaccount/dashboard.php:75 -
MHM RentivaFewer than 10 installs
do_action( 'woocommerce_account_dashboard' )templates/woocommerce/myaccount/dashboard.php:36 -
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.