ims_before_update_cart

Description

The “ims_before_update_cart” action runs before the shopping cart is updated from the shopping cart page.

A plugin (or theme) can add an action with the code:

<?php add_action( 'ims_before_update_cart', 'filter_function_name'); ?>

The hook is located in the image-store/_inc/car.php file.

Example

// apply action
function actionims_before_update_cart( $ImStoreCart ) {
//run action here 
}
add_action('ims_before_update_cart', 'action_ims_before_update_cart');

Note: $ImStoreCart is the global cart object.


Comments

Leave a Reply

Your email address will not be published. Required fields are marked *