shopp_after_purchased_data

called in order admin for each item in the purchase as it is displayed.

add_action('shopp_after_purchased_data', [callback]);

@param Item $Item purchased line item.
@param Purchase $Purchase the purchase object

Description

Runs in Shopp order admin interface for each item purchased. Runs after custom purchased item data is rendered. Passed the Item and the Purchase object.

Example

add_action('shopp_after_purchased_data', 'my_function', 10, 2);
function my_function ( $Item, $Purchase ) {
// do stuff
}

See Also

You must be logged in to post a comment.

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

Skip to toolbar