Description
The “ims_checkout_order_fieldset” filter is used to add additional fieldset areas to the checkout form in the checkout page.
A plugin (or theme) can modify the output with the code:
<?php add_filter( 'ims_checkout_order_fieldset', 'filter_function_name'); ?>
The hook is located in the image-store/_store/checkout.php file.
Example
// Apply filter function add_ims_checkout_order_fieldset( $output, $ImStoreCart, $options ) { return $output . '<fieldset><textarea name="custom"></textarea></fieldset>'; } add_filter('ims_checkout_order_fieldset', 'add_ims_checkout_order_fieldset');
Note: $output is a HTML string, $ImStoreCart is the global cart object, $options is an associative array.
Leave a Reply