Description
The “ims_image_title” filter is used to modify the image title.
A plugin (or theme) can modify the output with the code:
<?php add_filter( 'ims_image_title', 'filter_function_name'); ?>
The hook is located in the image-store/_inc/store.php file.
Example
// Apply filter function modify_ims_image_title( $title, $image ) { if( $image->ID == 2234 ) return "the image title"; else return $title; } add_filter('ims_image_title', 'modify_ims_image_title');
Note: $title is an string, $image is an object returned by get_posts().
Leave a Reply