Skip to content

Instantly share code, notes, and snippets.

@fervous
Forked from bentasm1/functions.php
Created September 3, 2016 03:43
Show Gist options
  • Save fervous/db5f3787e1f55df4285fae0ff1ea8915 to your computer and use it in GitHub Desktop.
Save fervous/db5f3787e1f55df4285fae0ff1ea8915 to your computer and use it in GitHub Desktop.
WC Vendors Pro - Add new tabs to Pro Dashboard Navigation
/* WC Vendors Pro - Add some new page links to the Pro Dashboard */
function new_dashboard_pages( $pages ){
$pages[] = array( 'label' => 'New Link', 'slug' => 'http://mysomelink.com' ); // Add stuff here
return $pages;
}
add_filter( 'wcv_pro_dashboard_urls', 'new_dashboard_pages' );
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment