maxgalleria_albums_widget_gallery_thumb

Description

This filter returns the gallery thumbnail when an album widget is displayed.

Usage

add_filter('maxgalleria_albums_widget_gallery_thumb', 'albums_widget_gallery_thumb', 10, 2);

Parameters

$image
The gallery thumbnail image.

$gallery_id
The gallery ID.

Example

add_filter('maxgalleria_albums_widget_gallery_thumb', 'albums_widget_gallery_thumb', 10, 2);

function albums_widget_gallery_thumb($image, $gallery_id) {
}

Source Files

Defined in maxgalleria-albums-hooks.php.

Used in widgets/album-widget.