Hello Redilson,
Thank you for reaching out to us.
Using below code you can add vendor dashboard menu after that you have to add the page URL
Please add this code in the function.php of the current active theme and modify as per your requirement
add_filter('wcmp_vendor_dashboard_nav', 'add_wcmp_vendor_dashboard_nav');
function add_wcmp_vendor_dashboard_nav($nav) {
$nav['custom_nav'] = array(
'label' => __('Custom Menu', 'dc-woocommerce-multi-vendor') // label of the menu
, 'url' => '' // url of the menu
, 'capability' => true
, 'position' => 80 //menu position
, 'submenu' => array() // submenu items
, 'link_target' => '_self' // target window _blank or _self
, 'nav_icon' => 'dashicons-dashboard' // menu icon wordpress dashicons resource (https://developer.wordpress.org/resource/dashicons/)
);
return $nav;
}
Copy