Dokan Access Manager icon
Utilities

Dokan Access Manager hooks reference

Dokan Access Manager 1.6 has 6 actions and 13 filters, read directly from its source code on Nov 19, 2026. The list updates automatically when a new version is released.

How to use these hooks

Actions let you run your own code at a specific moment. Filters let you change a value before the plugin uses it. Put your code in a child theme's functions.php or a code-snippets plugin, never in the plugin's own files, because updates overwrite them.

functions.phpyour child theme
// Run your own code when Dokan Access Manager fires an action
add_action( 'dokan_order_detail_after_order_general_details', function( $order ) {
	// Your code runs here.
}, 10, 1 );

// Change a value Dokan Access Manager is about to use
add_filter( 'dokan_access_manager_edit_items', function( $value ) {
	// Change $value here.
	return $value;
}, 10, 1 );

Parts of a name in {braces} are filled in at runtime (for example a post type or field ID). Choose Example on any hook for a ready-to-edit snippet.

All hooks

  • includes/Admin/Settings.php line 57
    /**
     * Edit product items for hide in edit page product
     */
    apply_filters( 'dokan_access_manager_edit_items', [ 'images' => __( 'Images', 'dokan-access-manager' ), 'slug' => __( 'Permalink', 'dokan-access-manager' ), 'Downloadable' => __( 'Downloadable', 'dokan-access-manager' ), 'Virtual' => __( 'Virtual', 'dokan-access-manager' ), 'Price' => __( 'Price', 'dokan-access-manager' ), 'Schedule' => __( 'Schedule Price', 'dokan-access-manager' ), 'Short-Description' => __( 'Short Description', 'dokan-acces... );
  • includes/functions.php line 19
    /**
     * Nav items for hide in dashboard navigation
     */
    apply_filters( 'dokan_access_manager_nav_items', [ 'products' => __( 'Products', 'dokan-access-manager' ), 'orders' => __( 'Orders', 'dokan-access-manager' ), 'withdraw' => __( 'Withdraw', 'dokan-access-manager' ), 'store' => __( 'Store', 'dokan-access-manager' ), 'payment' => __( 'Payment', 'dokan-access-manager' ), ] );
  • includes/Admin/Settings.php line 77
    /**
     * Details Order for Hide in details page
     */
    apply_filters( 'dokan_access_manager_order_details', [ 'Customer-Info' => __( 'Customer Info', 'dokan-access-manager' ), 'Billing-Address' => __( 'Billing Address', 'dokan-access-manager' ), 'Shipping-Address' => __( 'Shipping Address', 'dokan-access-manager' ), 'Downloadable-Permission' => __( 'Downloadable Product Permission', 'dokan-access-manager' ), 'Order-Notes' => __( 'Order Notes', 'dokan-access-manager' ), 'Add-note' => __( 'Add note', '... );
  • includes/Admin/Settings.php line 93
    /**
     * Options For Plugins
     */
    apply_filters( 'dokan_access_manager_register_options', [ 'register_accesses' => [ 'name' => 'register_accesses', 'label' => __( 'Register Accesses', 'dokan-access-manager' ), 'type' => 'sub_section', 'description' => __( 'Register Accesses', 'dokan-access-manager' ), ], 'register_with_woo' => [ 'name' => 'register_with_woo', 'label' => __( 'Register in Woocommerce form', 'dokan-access-manager' ), 'desc' => __( 'Remove Register in Woocommerce form',... );
  • includes/functions.php line 58
    /**
     * Row Actions items
     */
    apply_filters( 'dokan_access_manager_row_actions', array( 'edit' => __( 'Edit', 'dokan-access-manager' ), 'delete' => __( 'Delete Permanently', 'dokan-access-manager' ), 'view' => __( 'View', 'dokan-access-manager' ), ) );
  • includes/functions.php line 88
    apply_filters( 'dma_dashboard_widgets', $dashboard_widgets );
  • includes/Admin/Settings.php line 133
    apply_filters( 'dokan_access_manager_dashboard_options', [ 'dashboard_accesses' => [ 'name' => 'dashboard_accesses', 'label' => __( 'Dashboard Accesses', 'dokan-access-manager' ), 'type' => 'sub_section', 'description' => __( 'Dashboard Accesses', 'dokan-access-manager' ), 'content_class' => 'sub-section-styles', ], 'remove_widgets' => [ 'name' => 'remove_widgets', 'label' => __( 'Remove Widgets', 'dokan-access-manager' ), 'desc' => __( 'Remove Widge... );
  • includes/Admin/Settings.php line 178
    apply_filters( 'dokan_access_manager_edit_product_options', [ 'edit_product_accesses' => [ 'name' => 'edit_product_accesses', 'label' => __( 'Edit Product Accesses', 'dokan-access-manager' ), 'type' => 'sub_section', 'description' => __( 'Edit Product Accesses', 'dokan-access-manager' ), 'content_class' => 'sub-section-styles', ], 'edit_items' => [ 'name' => 'edit_items', 'label' => __( 'Edit Product Accesses', 'dokan-access-manager' ), 'desc' => __( 'R... );
  • includes/Admin/Settings.php line 115
    apply_filters( 'dokan_access_manager_nav_options', [ 'nav_accesses' => [ 'name' => 'nav_accesses', 'label' => __( 'Navigation Accesses', 'dokan-access-manager' ), 'type' => 'sub_section', 'description' => __( 'Navigation Accesses', 'dokan-access-manager' ), 'content_class' => 'sub-section-styles', ], 'navi_access' => [ 'name' => 'navi_access', 'label' => __( 'Hide Navigation Items', 'dokan-access-manager' ), 'desc' => __( 'Check for Hide some N... );
  • includes/Admin/Settings.php line 196
    apply_filters( 'dokan_access_manager_order_details_options', [ 'order_details_accesses' => [ 'name' => 'order_details_accesses', 'label' => __( 'Order Details Accesses', 'dokan-access-manager' ), 'type' => 'sub_section', 'description' => __( 'Order Details Accesses', 'dokan-access-manager' ), 'content_class' => 'sub-section-styles', ], 'order_details' => [ 'name' => 'order_details', 'label' => __( 'Order Details', 'dokan-access-manager' ), 'desc' => __( ... );
  • includes/Admin/Settings.php line 151
    apply_filters( 'dokan_access_manager_products_options', [ 'products_accesses' => [ 'name' => 'products_accesses', 'label' => __( 'Products Accesses', 'dokan-access-manager' ), 'type' => 'sub_section', 'description' => __( 'Products Accesses', 'dokan-access-manager' ), 'content_class' => 'sub-section-styles', ], 'row_actions_publish' => [ 'name' => 'row_actions_publish', 'label' => __( 'Publish Products Actions', 'dokan-access-manager' ), 'desc' => _... );
  • includes/Admin/Settings.php line 215
    apply_filters( 'dokan_access_manager_single_product_options', [ 'single_product_accesses' => [ 'name' => 'single_product_accesses', 'label' => __( 'Dokan Tabs Product', 'dokan-access-manager' ), 'type' => 'sub_section', 'description' => __( 'Remove Dokan Tabs Product', 'dokan-access-manager' ), 'content_class' => 'sub-section-styles', ], 'remove_seller_tab' => [ 'name' => 'remove_seller_tab', 'label' => __( 'Remove Seller Information tab', 'dokan-access-m... );
  • dokan-templates/orders/details.php line 281
    do_action( 'dokan_order_detail_after_order_general_details', $order );
  • dokan-templates/orders/details.php line 131
    do_action( 'dokan_order_detail_after_order_items', $order );
  • dokan-templates/orders/details.php line 388
    do_action( 'dokan_order_detail_after_order_notes', $order );
  • dokan-templates/orders/details.php line 261
    do_action( 'dokan_order_details_after_customer_info', $order );
  • dokan-templates/orders/details.php line 41
    do_action( 'woocommerce_admin_order_item_headers', $order );
  • dokan-templates/orders/details.php line 52
    apply_filters( 'woocommerce_admin_order_item_types', array( 'line_item', 'fee' ) );
  • dokan-templates/orders/details.php line 78
    do_action( "woocommerce_order_item_{$item['type']}_html", $item_id, $item, $order );

Generated from Dokan Access Manager's GPL-licensed source code. Hooks inside bundled third-party libraries are not listed.

Done for you

Rather have it built for you?

Tell us what should change and we’ll write and test the code using these hooks.

Plugin customisation

from $149

New features or changed behaviour, without editing the plugin’s files.

  • Built as a companion plugin, so updates never wipe it
  • Exact quote before we start
  • Tested on staging, then deployed

Typical turnaround: 3–7 business days

Choose this

Not sure which fits? Describe what you need and we’ll suggest the simplest option.

Can't find the right hook?

We can build the customisation for you. Describe what you need: