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:

functions.php
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.

  1. Dokan: AI Powered WooCommerce Multivendor Marketplace Solution icon Dokan: AI Powered WooCommerce Multivendor Marketplace Solution30,000+ installs do_action( 'dokan_dashboard_content_before' ) templates/dashboard/dashboard.php:24
  2. User Frontend icon User Frontend20,000+ installs do_action( 'dokan_dashboard_content_before' ) templates/dokan/posts.php:13
  3. weForms icon weForms10,000+ installs do_action( 'dokan_dashboard_content_before' ) includes/templates/dokan/dashboard-contact-section.php:13
  4. Better Messages icon Better Messages10,000+ installs do_action( 'dokan_dashboard_content_before' ) addons/dokan.php:121
  5. weDocs: AI Powered Knowledge Base, Docs, Documentation, Wiki & AI Chatbot icon weDocs: AI Powered Knowledge Base, Docs, Documentation, Wiki & AI Chatbot5,000+ installs do_action( 'dokan_dashboard_content_before' ) templates/vendor-docs.php:11
  6. Shipday Local Delivery for WooCommerce icon Shipday Local Delivery for WooCommerce700+ installs do_action( 'dokan_dashboard_content_before' ) views/Dokan_vendor_settings_shipday.php:74
  7. FlexStock icon FlexStock600+ installs do_action( 'dokan_dashboard_content_before' ) includes/multi-vendor/dokan/dokan-menu.php:121
  8. Link Invoice Payment for WooCommerce icon Link Invoice Payment for WooCommerce200+ installs do_action( 'dokan_dashboard_content_before' ) Includes/WcPaymentInvoiceDonation.php:1585
  9. WPCafe Multivendor Restaurant Addon for Dokan icon WPCafe Multivendor Restaurant Addon for Dokan100+ installs do_action( 'dokan_dashboard_content_before' ) core/settings/part/settings.php:20
  10. Pagamento Moip for WooCommerce icon Pagamento Moip for WooCommerce100+ installs do_action( 'dokan_dashboard_content_before' ) templates/marketplaces/moip-dokan.php:28
  11. Split Pay icon Split Pay100+ installs do_action( 'dokan_dashboard_content_before' ) includes/Integrations/Marketplace/Dokan/DokanDashboard.php:118
  12. Customize Dokan Dashboard Endpoints icon Customize Dokan Dashboard Endpoints70+ installs do_action( 'dokan_dashboard_content_before' ) include/frontend/template.php:21
  13. Sales Igniter Rentals & Bookings Lite icon Sales Igniter Rentals & Bookings Lite10+ installs do_action( 'dokan_dashboard_content_before' ) templates/dokan/dashboard/calendar.php:27
  14. Easy to Manage Vendor icon Easy to Manage Vendor10+ installs do_action( 'dokan_dashboard_content_before' ) includes/frontend/dokan/class-dokan-menu.php:68
  15. SCM icon SCM10+ installs do_action( 'dokan_dashboard_content_before' ) templates/scd-currency-choose.php:15
  16. Multi Vendor Campaign icon Multi Vendor Campaign10+ installs do_action( 'dokan_dashboard_content_before' ) admin/class-multi-vendor-campaign-admin.php:1367
  17. Smart Affiliate for Dokan icon Smart Affiliate for Dokan10+ installs do_action( 'dokan_dashboard_content_before' ) includes/class-smaffdkn-user-dashboard.php:260
  18. WordLive icon WordLiveFewer than 10 installs do_action( 'dokan_dashboard_content_before' ) templates/how-to-join-call.php:21
  19. Cobrança U4crypto icon Cobrança U4cryptoFewer than 10 installs do_action( 'dokan_dashboard_content_before' ) add-ons/dokan/u4crypto.php:25
  20. Rentals & Bookings � Solo & Marketplace icon Rentals & Bookings � Solo & MarketplaceFewer than 10 installs do_action( 'dokan_dashboard_content_before' ) templates/dokan/analytics.php:27
  21. Vendors Stories for Dokan icon Vendors Stories for DokanFewer than 10 installs do_action( 'dokan_dashboard_content_before' ) template-stories.php:39
  22. Crypto Adaptive Payment icon 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.