called on new order notification.

add_action('shopp_order_notifications', [callback]);


Runs when new order notifications are sent. add_action call will allow you to perform additional code at the time of order notification. The placement of this as a do_action(‘shopp_order_notification’) inside a gateway will trigger a new order notification from Shopp, which would be useful when creating a new gateway for an external payment method.


add_action('shopp_order_notifications', '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