-
-
Save fervous/db5f3787e1f55df4285fae0ff1ea8915 to your computer and use it in GitHub Desktop.
WC Vendors Pro - Add new tabs to Pro Dashboard Navigation
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
/* 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