Skip to content

Instantly share code, notes, and snippets.

@fervous
Created March 29, 2018 00:07
Show Gist options
  • Save fervous/fa35662e843b7a13ec3b9a81e58f253b to your computer and use it in GitHub Desktop.
Save fervous/fa35662e843b7a13ec3b9a81e58f253b to your computer and use it in GitHub Desktop.
wc vendors dashboard add product change quick link quicklinks label
/* 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