maxgalleria_gallery_widget_thumb

Description

This filter returns the image thumbnail when a gallery widget is displayed.

Usage

add_filter('maxgalleria_gallery_widget_thumb', 'gallery_widget_thumb', 10, 4);

Parameters

$html
The output of the image thumbnail.

$image
The image object.

$alt
The image alt text.

$title
The image title.

Example

add_filter('maxgalleria_gallery_widget_thumb', 'gallery_widget_thumb', 10, 4);

function gallery_widget_thumb($html, $image, $alt, $title) {
}

Source Files

Defined in maxgalleria-hooks.php.

Used in widgets/gallery-widget.php.