Filter to change the ounce Weight Attribute name that the WooConnect add-on uses.

Example code

/** Filter to change the ounce weight name in WooConnect */
function acme_weight_ounce( $weightounce ) {
    $weightounce = '28g';
    return $weightounce;
}
add_filter( 'wpdwc_weight_ounce', 'acme_weight_ounce' );

File location:

/wpd-wooconnect/wpd-wooconnect.php

Comments Off on wpdwc_weight_ounce