Last active
August 28, 2017 02:46
-
-
Save fervous/0ed42f7321c8c1c9ee324b6a8a20288b to your computer and use it in GitHub Desktop.
change add product url quicklink wc vendors pro dashboard
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 - change add product quicklink */ | |
add_filter('wcv_dashboard_quick_links', 'wcv_dashboard_quick_links_product_change'); | |
function wcv_dashboard_quick_links_product_change( $quick_links ){ | |
if ( array_key_exists('product', $quick_links ) ) $quick_links[ 'product' ][ 'url' ] = '/your-url-here/'; | |
return $quick_links; | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment