Created
March 29, 2018 00:07
-
-
Save fervous/fa35662e843b7a13ec3b9a81e58f253b to your computer and use it in GitHub Desktop.
wc vendors dashboard add product change quick link quicklinks label
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
/* change add product button / label */ | |
add_filter('wcv_dashboard_quick_links', 'change_add_product'); | |
function change_add_product( $quick_links ){ | |
if ( array_key_exists('product', $quick_links ) ) $quick_links[ 'product' ][ 'label' ] = 'new label here'; | |
return $quick_links; | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment