Description
The “ims_receipt_path” filter is used to modify the path to the php file used to display the receipt page.
A plugin (or theme) can modify the path with the code:
<?php add_filter( 'ims_receipt_path', 'filter_function_name' ); ?>
The hook is located in the image-store/_inc/store.php files.
Example
// Apply filter function modify_ims_receipt_path( $path ) { return "path/to/php/file/to/display/receipt.php"; } add_filter('ims_receipt_path', 'modify_ims_receipt_path');
Note: $path is an string, full path to php file.