shopp_order_admin_script

called during in-line javascript output on order manager in the admin.

add_action('shopp_order_admin_script', [callback]);

@param Purchase $Purchase the current purchase object.

Description

Runs near the end of the inline scripting loaded at the foot of the order manager in the admin. Output generated by this action callback should be javascript code.

Example

add_action('shopp_order_admin_script', 'my_function');
function my_function ( $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