Description
The “ims_before_checkout_order” filter is used to add HTML to the beginning of the checkout form in the checkout page.
A plugin (or theme) can modify the output with the code:
<?php add_filter( 'ims_before_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 ) { return $output . "<p>my message</p>"; } add_filter('ims_before_checkout_order', 'add_ims_before_checkout_order');
Note: $output is a HTML string.
Leave a Reply