ims_before_sales_details

Description

The “ims_before_sales_details” action runs before the sales details table.

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

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

The hook is located in the image-store/admin/sales/sales-details.php file.

Example

// apply action
function action_ims_before_sales_details( $sale, $cart, $cart_data ) {
	//run action here
}
add_action('ims_before_sales_details', 'action_ims_before_sales_details');

Note: $sale is an is an associative array, $cart is an is an associative array, $cart_data is an associative array.


Leave a Reply

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