Search
 
SCRIPT & CODE EXAMPLE
 
CODE EXAMPLE FOR PHP

wp wc trim zero

/**
 * Trim zeros in price decimals
 **/
 add_filter( 'woocommerce_price_trim_zeros', '__return_true' );
Source by krokedil.com #
 
PREVIOUS NEXT
Tagged: #wp #wc #trim
ADD COMMENT
Topic
Name
3+9 =