Skip to content

Instantly share code, notes, and snippets.

@fervous
Created April 18, 2018 15:24
Show Gist options
  • Save fervous/8abfa78ac0a246ef8c39e0b5ce6d8fa4 to your computer and use it in GitHub Desktop.
Save fervous/8abfa78ac0a246ef8c39e0b5ce6d8fa4 to your computer and use it in GitHub Desktop.
change price field label wc vendors pro product form
/* change the label for the price wc vendors pro front end add/edit product form */
add_filter('wcv_product_price', 'custom_wcv_product_price');
function custom_wcv_product_price ( $args ){
$args['label'] = '<strong>WHOLESALE PRICE</strong><br><i class="fa fa-info-circle" aria-hidden="true"></i> <small>Choose a price in USD $ <strong>WITHOUT</strong> currency symbols</small>';
return $args;
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment