Created
April 1, 2017 18:11
-
-
Save fervous/b8ae64ce63f2011164b990be3df17d56 to your computer and use it in GitHub Desktop.
add link to pro dashboard menu wc vendors pro
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 a new link to the Pro Dashboard */ | |
function new_dashboard_page( $pages ){ | |
$pages[] = array( 'label' => 'Your Page Name Here', 'slug' => 'https://your-website-here.com/the-page-here/' ); | |
return $pages; | |
} | |
add_filter( 'wcv_pro_dashboard_urls', 'new_dashboard_page' ); |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment