Skip to content

Instantly share code, notes, and snippets.

@fervous
Created August 16, 2016 01:49
Show Gist options
  • Save fervous/44178b88d9c51a9b294d898b32294f61 to your computer and use it in GitHub Desktop.
Save fervous/44178b88d9c51a9b294d898b32294f61 to your computer and use it in GitHub Desktop.
filter add text to wc vendors pro product-edit.php
add_filter('wcv_product_upsells', 'custom_wcv_product_upsells');
function custom_wcv_product_upsells( $args ){
$args['label'] = 'Up-Sells <span style ="font-size:11px; font weight:normal;">Your message here.......</span>';
return $args;
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment