WordPress action hook
woocommerce_account_content
Defined by WooCommerce and fired by 20 plugins in total, running on 7M+ sites between them.
“My Account content.”
How to use woocommerce_account_content
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_content', 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.
20 plugins that fire woocommerce_account_content
Sorted by active installs. Each entry shows where the plugin calls the hook and what it passes.
-
WooCommerce7+ million installs
do_action( 'woocommerce_account_content' )templates/myaccount/my-account.php:34 -
SysBasics Customize My Account for WooCommerce7,000+ installs
do_action( 'woocommerce_account_content' )react-myaccount/react-myaccount.php:149 -
Youzify5,000+ installs
do_action( 'woocommerce_account_content' )includes/public/templates/members/single/woocommerce.php:64 -
BuddyPress Integration for WooCommerce700+ installs
do_action( 'woocommerce_account_content' )templates/shop/member/bb/my-account.php:52 -
ShopPress600+ installs
do_action( 'woocommerce_account_content' )public/templates/my-account/my-account.php:46 -
StoreBuild400+ installs
do_action( 'woocommerce_account_content' )public/woocommerce/myaccount/my-account.php:38 -
Noah Shop Builder for WooCommerce300+ installs
do_action( 'woocommerce_account_content' )includes/Blocks/AccountBlocks.php:113 -
Vertex Addons for Elementor200+ installs
do_action( 'woocommerce_account_content' )app/Widgets/Woo/MyAccount.php:683 -
Shopready100+ installs
do_action( 'woocommerce_account_content' )src/extension/templates/presets/myaccount/my-account-one.php:40 -
My Account Page Lite for Divi100+ installs
do_action( 'woocommerce_account_content' )templates/frontend/account.php:14 -
ShopMaker90+ installs
do_action( 'woocommerce_account_content' )classes/widgets/sm-myaccount-my-account.php:681 -
Gou Manage My Account Menu70+ installs
do_action( 'woocommerce_account_content' )templates/my-account.php:45 -
WTC: Sözleşmeler, Kargo, SMS, İade, Form, OTP (SMS Doğrulama), Puan, Kupon Yönetimi20+ installs
do_action( 'woocommerce_account_content' )modules/dashboard/frontend/DashboardHandler.php:64 -
User Avatar For Woocommerce20+ installs
do_action( 'woocommerce_account_content' )user-avatar-for-woocommerce.php:767 -
Dashboard for Woo10+ installs
do_action( 'woocommerce_account_content' )includes/class-webangonwd-ajax.php:59 -
LH Buddypress Woo10+ installs
do_action( 'woocommerce_account_content' )lh-buddypress-woo.php:288 -
Experto Dashboard for WooCommerce10+ installs
do_action( 'woocommerce_account_content' )templates/woocommerce/myaccount/my-account.php:80 -
AZDev Account Skin for WooCommerceFewer than 10 installs
do_action( 'woocommerce_account_content' )templates/myaccount/my-account.php:42 -
Preloader StudioFewer than 10 installs
do_action( 'woocommerce_account_content' )includes/class-preloader-studio-account-dashboard.php:123 -
Single Page ShoppingFewer than 10 installs
do_action( 'woocommerce_account_content' )templates/content-only-page/awcs-content-only-page.php:52
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.