/** Filter to change the half gram weight name in WooConnect */
function acme_weight_halfgram( $weighthalfgram ) {
    $weighthalfgram = '0.5g';
    return $weighthalfgram;
}
add_filter( 'wpdwc_weight_halfgram', 'acme_weight_halfgram' );
Comments Off on wpdwc_weight_halfgram