1. Home
  2. WC Vendors Pro
  3. Code Snippets
  4. Add menu item to dashboard

Add menu item to dashboard

If you would like to add a new menu item that links to another part of your marketplace for vendors you can use the following snippet. You will need to update the URL to match the particular link for your marketplace. 


// Add this to your themes functions.php 
function add_menu_item( $pages ){ 
	$pages[] = array( 
		'label' => 'Help', 
		'slug' => 'http://wcvendors.com/support',
		'actions' => array()
	return $pages;
add_filter( 'wcv_pro_dashboard_urls', 'add_menu_item' ); 


Updated on November 29, 2020

Was this article helpful?