/** Filter to change the two grams weight name in WooConnect */
function acme_weight_twograms( $weighttwograms ) {
    $weighttwograms = '2g';
    return $weighttwograms;
}
add_filter( 'wpdwc_weight_twograms', 'acme_weight_twograms' );
Comments Off on wpdwc_weight_twograms