Created
February 24, 2017 17:11
-
-
Save fervous/68dfcde92dd5d5fb13be5f1746e375f1 to your computer and use it in GitHub Desktop.
Change Price label , remove currency, add info, wc vendors pro product form
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 the label for the price and sale price fields 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>REGULAR 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; | |
} | |
add_filter('wcv_product_sale_price', 'custom_wcv_product_sale_price'); | |
function custom_wcv_product_sale_price ( $args ){ | |
$args['label'] = '<strong>SALE 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