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

Example code

/** Filter to change the eighth weight name in WooConnect */
function acme_weight_eighth( $weighteighth ) {
    $weighteighth = '3.5g';
    return $weighteighth;
}
add_filter( 'wpdwc_weight_eighth', 'acme_weight_eighth' );

File location:

/wpd-wooconnect/wpd-wooconnect.php

Comments Off on wpdwc_weight_eighth