Description
The “ims_before_order_form” filter is used to add HTML to the beginning of the order form.
A plugin (or theme) can modify the output with the code:
<?php add_filter( 'ims_before_order_form', 'filter_function_name'); ?>
The hook is located in the image-store/_store/order-form.php file.
Example
// Apply filter function add_ims_before_order_form( $output, $ImStore ) { return $output . "<p>my message</p>"; } add_filter('ims_before_order_form', 'add_ims_before_order_form');
Note: $output is a HTML string, $ImStore is the global store object.