ims_slideshow_path

Description

The “ims_slideshow_path” filter is used to modify the path to the php file used to display the slideshow page.

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

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

The hook is located in the image-store/_inc/store.php and image-store/_store/shortcode.php file.

Example

// Apply filter
function modify_ims_slideshow_path( $path ) {
return "path/to/php/file/to/display/slideshow.php";
}
add_filter('ims_slideshow_path', 'modify_ims_slideshow_path');

Note: $path is an string, full path to php file.


Comments

Leave a Reply

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