WordPress action hook
dokan_dashboard_content_before
Fired by 22 WordPress plugins, running on 77K+ sites between them.
“Added dokan_dashboard_content_before hook”
How to use dokan_dashboard_content_before
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( 'dokan_dashboard_content_before', function() {
// Your code runs here.
}, 10, 1 );Argument names come from Dokan: AI Powered WooCommerce Multivendor Marketplace Solution's source. Other plugins may pass different values: check the call in the plugin you're targeting below.
22 plugins that fire dokan_dashboard_content_before
Sorted by active installs. Each entry shows where the plugin calls the hook and what it passes.
-
Dokan: AI Powered WooCommerce Multivendor Marketplace Solution30,000+ installs
do_action( 'dokan_dashboard_content_before' )templates/dashboard/dashboard.php:24 -
User Frontend20,000+ installs
do_action( 'dokan_dashboard_content_before' )templates/dokan/posts.php:13 -
weForms10,000+ installs
do_action( 'dokan_dashboard_content_before' )includes/templates/dokan/dashboard-contact-section.php:13 -
Better Messages10,000+ installs
do_action( 'dokan_dashboard_content_before' )addons/dokan.php:121 -
weDocs: AI Powered Knowledge Base, Docs, Documentation, Wiki & AI Chatbot5,000+ installs
do_action( 'dokan_dashboard_content_before' )templates/vendor-docs.php:11 -
Shipday Local Delivery for WooCommerce700+ installs
do_action( 'dokan_dashboard_content_before' )views/Dokan_vendor_settings_shipday.php:74 -
FlexStock600+ installs
do_action( 'dokan_dashboard_content_before' )includes/multi-vendor/dokan/dokan-menu.php:121 -
Link Invoice Payment for WooCommerce200+ installs
do_action( 'dokan_dashboard_content_before' )Includes/WcPaymentInvoiceDonation.php:1585 -
WPCafe Multivendor Restaurant Addon for Dokan100+ installs
do_action( 'dokan_dashboard_content_before' )core/settings/part/settings.php:20 -
Pagamento Moip for WooCommerce100+ installs
do_action( 'dokan_dashboard_content_before' )templates/marketplaces/moip-dokan.php:28 -
Split Pay100+ installs
do_action( 'dokan_dashboard_content_before' )includes/Integrations/Marketplace/Dokan/DokanDashboard.php:118 -
Customize Dokan Dashboard Endpoints70+ installs
do_action( 'dokan_dashboard_content_before' )include/frontend/template.php:21 -
Sales Igniter Rentals & Bookings Lite10+ installs
do_action( 'dokan_dashboard_content_before' )templates/dokan/dashboard/calendar.php:27 -
Easy to Manage Vendor10+ installs
do_action( 'dokan_dashboard_content_before' )includes/frontend/dokan/class-dokan-menu.php:68 -
SCM10+ installs
do_action( 'dokan_dashboard_content_before' )templates/scd-currency-choose.php:15 -
Multi Vendor Campaign10+ installs
do_action( 'dokan_dashboard_content_before' )admin/class-multi-vendor-campaign-admin.php:1367 -
Smart Affiliate for Dokan10+ installs
do_action( 'dokan_dashboard_content_before' )includes/class-smaffdkn-user-dashboard.php:260 -
WordLiveFewer than 10 installs
do_action( 'dokan_dashboard_content_before' )templates/how-to-join-call.php:21 -
Cobrança U4cryptoFewer than 10 installs
do_action( 'dokan_dashboard_content_before' )add-ons/dokan/u4crypto.php:25 -
Rentals & Bookings � Solo & MarketplaceFewer than 10 installs
do_action( 'dokan_dashboard_content_before' )templates/dokan/analytics.php:27 -
Vendors Stories for DokanFewer than 10 installs
do_action( 'dokan_dashboard_content_before' )template-stories.php:39 -
Crypto Adaptive PaymentFewer than 10 installs
do_action( 'dokan_dashboard_content_before' )crypto-adaptive-payment.php:1603
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.