This filter returns the image thumbnail when a gallery widget is displayed.
add_filter('maxgalleria_gallery_widget_thumb', 'gallery_widget_thumb', 10, 4); $html
The output of the image thumbnail.
$image
The image object.
$alt
The image alt text.
$title
The image title.
add_filter('maxgalleria_gallery_widget_thumb', 'gallery_widget_thumb', 10, 4);
function gallery_widget_thumb($html, $image, $alt, $title) {
}
Defined in maxgalleria-hooks.php.
Used in widgets/gallery-widget.php.