Use this filter to add action for user dashboard without adding menu in left sidebar. For example, you may add a menu in content section manually and want to skip from left sidebar, then you can use this filter.
One parameter is passed to this hook.
To add new tabs Under Package Settings section.
<?php add_filter('wpdm_dashboard_menu_actions','my_custom_dashboard_actions',10,1); ?>
<?php
add_filter('wpdm_dashboard_menu_actions','my_custom_dashboard_actions',10,1);
// $menu_items is an array containing current menu items
function my_custom_dashboard_menus($dashboard_actions){
//Adding new action using callback function
$dashboard_actions['new-menu-id'] = array('callback' => 'CallbackFunction');
//Adding new action using short-code
$dashboard_actions['new-menu-id'] = array('shortcode' => '[short_code_here]');
return $dashboard_actions;
}
?>
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.