The “ims_after_order_form” filter is used to add HTML to the end of the order form.

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

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

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


// Apply filter
function add_ims_after_order_form( $output, $ImStore ) {
	return $output . "<p>my message</p>"; 
add_filter('ims_after_order_form', 'add_ims_after_order_form');

Note:  $output is a HTML string, $ImStore is the global store object.

Leave a Reply

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