This filter returns the gallery thumbnail when an album widget is displayed.
add_filter('maxgalleria_albums_widget_gallery_thumb', 'albums_widget_gallery_thumb', 10, 2); $image
The gallery thumbnail image.
$gallery_id
The gallery ID.
add_filter('maxgalleria_albums_widget_gallery_thumb', 'albums_widget_gallery_thumb', 10, 2);
function albums_widget_gallery_thumb($image, $gallery_id) {
}
Defined in maxgalleria-albums-hooks.php.
Used in widgets/album-widget.