shopp_purchased_addon_unitprice

filters the addon unitprice for an addon that has been purchased, as it is displayed in the Order Manager.

add_filter( 'shopp_purchased_addon_unitprice', [callback] )

@param string $unitprice the addon unitprice for an addon that has been purchased, as it is displayed in the Order Manager.

Description

filters the addon unitprice for an addon that has been purchased, as it is displayed in the Order Manager.

Example

// register filter callback
add_filter('shopp_purchased_addon_unitprice', 'shopp_purchased_addon_unitprice_fltr');

// create filter function
function shopp_purchased_addon_unitprice_fltr( $unitprice ) {
    // do something to the $unitprice...
    return $unitprice;
}

See Also

You must be logged in to post a comment.

© Ingenesis Limited. Shopp™ is a registered trademark of Ingenesis Limited.

Skip to toolbar