8 seconds
Filter to change the twogram Weight Attribute name that the WooConnect add-on uses.
Example code
/** 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' );
File location:
/wpd-wooconnect/wpd-wooconnect.php