ims_access_forms

Description

The “ims_access_forms” filter is used to modify or add HTML login/register form in the receipt page after a transaction has been completed.

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

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

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

Example

// Apply filter
function add_ims_access_forms( $output, $user_login, $user_email, $message ) {
	return $output; 
}
add_filter('ims_access_forms', 'add_ims_access_forms');

Note: $output is an HTML string, $user_login is a string, $user_email is a string, $message is a string.


Leave a Reply

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