/** 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' );
/** 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' );