ims_slideshow_actions

Description

The “ims_slideshow_actions” filter is used to add links (actions) to the slideshow page.

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

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

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

Example

// Apply filter
function add_ims_slideshow_actions( $output ) {
	return $output . '<a href="#" role="button" rel="nofollow">' . __( 'share link' ) . '</a>';
}
add_filter('ims_slideshow_actions', 'add_ims_slideshow_actions');

Note:  $output is a HTML string.


Leave a Reply

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