shopp_purchased_addon_sku

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

add_filter( 'shopp_purchased_addon_sku', [callback] )

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

Description

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

Example

// register filter callback
add_filter('shopp_purchased_addon_sku', 'shopp_purchased_addon_sku_fltr');

// create filter function
function shopp_purchased_addon_sku_fltr( $sku ) {
    // do something to the $sku...
    $sku = esc_attr($sku);
    return $sku;
}

See Also

You must be logged in to post a comment.

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

Skip to toolbar