Add Custom Menu To EDD Frontend Submission Dashboard
If you want to add custom menu to EDD Frontend Submission Dashboard you have to follow these step.
You must use the Mayosis Child theme to add any code. Either way, the code will be replaced with a new theme update.
Edit the Mayosis Child themes functions.php file and add the below code to it.
function your_name_custom_menu( $menu_items ) { $menu_items['custom_menu_name'] = array( "icon" => "", "task" => array( 'custom_menu_name' ), "name" => __( 'Custom Menu', 'Text Domain' ), // the text that appears on the tab ); } add_filter( 'fes_vendor_dashboard_menu', 'your_name_custom_menu' ); // make the new tab work function custom_download_task_response( $custom, $task ) { if ( $task == 'custom_menu_name' ) { $custom = 'custom_menu_name'; } } add_filter( 'fes_signal_custom_task', 'custom_download_task_response', 10, 2 ); // the content associated with your new tab function edd_custom_menu_name_tab_content() { //place your content here } add_action( 'fes_custom_task_purchase_history','edd_custom_menu_name_tab_content' );