shopp_default_scripts

called when shopp default scripts are enqueued.

add_action('shopp_default_scripts', [callback]);

@param ShoppScripts $ShoppScripts the ShoppScripts script enqueueing object.

Description

Called at the beginning of the ShoppScripts constructor, and passes a reference to the new ShoppScripts object. Calls the shopp_default_scripts method of ShoppScripts. Useful for manipulating the default scripts that are enqueued by Shopp.

Example

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