ims_after_checkout_order

Description

The “ims_after_checkout_order” filter is used to add HTML to the end of the checkout form in the checkout page.

A plugin (or theme) can modify the output with the code:

<?php add_filter( 'ims_after_checkout_order', 'filter_function_name'); ?>

The hook is located in the image-store/_store/checkout.php file.

Example

// Apply filter
function add_ims_after_checkout_order( $output, $cart_options ) {
		return $output . "<p>my message</p>"; 
}
add_filter('ims_after_checkout_order', 'add_ims_after_checkout_order');

Note:  $output is a HTML string, $cart_options is the associative array.


Leave a Reply

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