ims_after_pricelist_page

Description

The “ims_after_pricelist_page” filter is used to modify or add HTML to the price list page.

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

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

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

Example

// Apply filter
function add_ims_price_list_message( $output, $price_list_id ) {
	if( $price_list_id == 593 )
		return $output . "<p>my message</p>";
	else 
		return $output; 
}
add_filter('ims_after_pricelist_page', 'add_ims_price_list_message', 20, 2 );

Note:  $output is a HTML string, $price_list_id is an integer.


Leave a Reply

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