WordPress action hook
woocommerce_after_my_account
Defined by WooCommerce and fired by 18 plugins in total, running on 7M+ sites between them.
“Deprecated woocommerce_after_my_account action.”
How to use woocommerce_after_my_account
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_after_my_account', 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.
18 plugins that fire woocommerce_after_my_account
Sorted by active installs. Each entry shows where the plugin calls the hook and what it passes.
-
WooCommerce7+ million installs
do_action( 'woocommerce_after_my_account' )templates/myaccount/dashboard.php:79 -
Booster for WooCommerce30,000+ installs
do_action( 'woocommerce_after_my_account' )includes/class-wcj-my-account.php:442 -
SysBasics Customize My Account for WooCommerce7,000+ installs
do_action( 'woocommerce_after_my_account' )templates/myaccount/dashboard.php:71 -
Donation Platform for WooCommerce: Fundraising & Donation Management6,000+ installs
do_action( 'woocommerce_after_my_account' )includes/wc-templates/myaccount/dashboard.php:78 -
BuddyPress Integration for WooCommerce700+ installs
do_action( 'woocommerce_after_my_account' )templates/shop/member/bb/dashboard.php:63 -
ShopPress600+ installs
do_action( 'woocommerce_after_my_account' )public/templates/my-account/dashboard.php:67 -
Vertex Addons for Elementor200+ installs
do_action( 'woocommerce_after_my_account' )app/Widgets/Woo/MyAccount.php:652 -
WebSync Checkout for Elementor60+ installs
do_action( 'woocommerce_after_my_account' )includes/widgets/my-account/skins/class-skin-default.php:164 -
RouteMile for WooCommerce40+ installs
do_action( 'woocommerce_after_my_account' )templates/woocommerce/myaccount/dashboard.php:51 -
Gift Card For Woocommerce20+ installs
do_action( 'woocommerce_after_my_account' )templates/myaccount/phoen_giftcard_dashboard.php:67 -
Experto Dashboard for WooCommerce10+ installs
do_action( 'woocommerce_after_my_account' )templates/woocommerce/myaccount/dashboard.php:67 -
Dashboard for Woo10+ installs
do_action( 'woocommerce_after_my_account' )templates/dashboard.php:149 -
Store Addons for WooCommerceFewer than 10 installs
do_action( 'woocommerce_after_my_account' )includes/Modules/templates/custom-dashboard.php:28 -
AZDev Account Skin for WooCommerceFewer than 10 installs
do_action( 'woocommerce_after_my_account' )templates/myaccount/dashboard.php:87 -
ShopCuratorFewer than 10 installs
do_action( 'woocommerce_after_my_account' )templates/woocommerce/myaccount/dashboard.php:27 -
Vite WholesaleFewer than 10 installs
do_action( 'woocommerce_after_my_account' )vitewholesale/templates/myaccount/dashboard.php:89 -
MHM RentivaFewer than 10 installs
do_action( 'woocommerce_after_my_account' )templates/woocommerce/myaccount/dashboard.php:50 -
CodelaFewer than 10 installs
do_action( 'woocommerce_after_my_account' )includes/my-account-layout.php:825
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.