wpdwc_weight_quarter

8 seconds

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

Example code

/** Filter to change the quarter ounce weight name in WooConnect */
function acme_weight_quarter( $weightquarter ) {
    $weightquarter = '7g';
    return $weightquarter;
}
add_filter( 'wpdwc_weight_quarter', 'acme_weight_quarter' );

File location:

/wpd-wooconnect/wpd-wooconnect.php

Was this article helpful?