ims_after_checkout

Description

The “ims_after_checkout” a filter that allows to add HTML after the checkout form.

A plugin (or theme) can add an action with the code:

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

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

Example

// apply action
function action_ims_after_checkout( $output, $ImStoreCart, $options ) {
return $output . "<p>my text here</p>"
}
add_filter('ims_after_checkout', 'action_ims_after_checkout');

Note: $output is an HTML string, $ImStoreCart is the global cart object, $options is an associative array.


Comments

Leave a Reply

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