Main Menu
Sub Menu

wpdm_frontend – Add/Remove Author Dashboard Menus


Use this filter to add menu items with author dashboard or remove any menu item from author dashboard


One parameter is passed to this hook.


To add a new menu with author dashboard.

<?php add_filter('wpdm_frontend','wpdm_author_dashboard_menus',10,1);  ?>


// $menu_items is an array containing current menu items
function wpdm_author_dashboard_menus($menu_items){ 
// Removing edit profile menu
//Adding new menu item using callback function
$menu_items['new-menu-id'] = array('label'=> __('Menu Title','text-domain'), 'callback' => 'CallbackFunction');
//Adding new menu item using short-code
$menu_items['new-menu-id'] = array('label'=> __('Menu Title','text-domain'), 'shortcode' => '[short_code_here]');
return $menu_items;
Last updated on Aug 30, 2021

Need More Clarification?

For any technical issue, if you are already using pro version please post in pro forum and free version users please post in free forum. Otherwise, if you have any pre-sale or order related query please contact live chat support team. For technical support.

Need Customization?

If you need additional customization on WordPress Download Manager or any type of custom support on WordPress you may contact our customization service.