shopp_create_purchase

called to trigger the creation of a new purchase.

add_action('shopp_purchase_order_created', [callback]);

Description

This action is called to trigger the creation of a new purchase. The shopp_order_notifications action is called, followed by the shopp_order_success action.

Example

add_action('shopp_purchase_order_created', 'my_function');
function my_function () {
// 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