fatmir

Forum Replies Created

Viewing 5 posts - 1 through 5 (of 5 total)
Oct 25, 2018 at 3:09 pm
#88655
Member
fatmir
OP

Hi,

please check the attachment and help me to add the download “description” to show it in email notification.

best regards

Fatmir

Jun 26, 2018 at 6:12 am
#79585
Member
fatmir
OP

thank you

Jun 22, 2018 at 12:36 pm
#79416
Member
fatmir
OP
This reply has been marked as private.
Jun 19, 2018 at 3:48 pm
#79278
Member
fatmir
OP

Thank you for your answer, but it is not working.
I want to put a link to the shortcode “[wpdm_frontend]” and I put the code below to the function.php of the theme.
The result you can show on the image attached.
So the wpdm_frontend is opening in a frame of the dashboard, but I can not run the correct link if I click to the second time to “Add new”.
Can you help me to connect the “add new” button to the first button?

Best regards

Fatmir

// Use this filter to add menu items with author dashboard or remove any menu item from author dashboard
add_filter(‘wpdm_user_dashboard_menu’,’my_custom_dashboard_menus’,10,1);
// $menu_items is an array containing current menu items
function my_custom_dashboard_menus($menu_items){
// Removing edit profile menu
unset($menu_items[‘edit-profile’]);
unset($menu_items[‘subscription-plan’]);
unset($menu_items[‘subscription-download-area’]);
unset($menu_items[‘subscription-download-area’]);
//Adding new menu item using callback function
//$menu_items[‘new-menu-id’] = array(‘name’► __(‘Menu Title’,’text-domain’), ‘callback’ ► ‘CallbackFunction’);
//Adding new menu item using short-code
$menu_items[‘new-menu-id’] = array(‘name’► __(‘Add NEW’,’text-domain’), ‘shortcode’ ► ‘[wpdm_frontend]‘);
return $menu_items;
}

Feb 19, 2017 at 11:26 am
#53945
Member
fatmir
OP
This reply has been marked as private.
Viewing 5 posts - 1 through 5 (of 5 total)