maxgalleria_masonry_image

Description

This filter returns the masonry image output for the gallery when displayed with the masonry template.

Usage

add_filter('maxgalleria_masonry_image', 'masonry_image', 10, 4);

Parameters

$html
The output for the masonry image.

$image
The masonry image object.

$alt
The masonry image alt text.

$title
The masonry image title.

Example

add_filter('maxgalleria_masonry_image', 'masonry_image', 10, 4);

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

Source Files

Defined in maxgalleria-masonry-hooks.php.

Used in maxgalleria-masonry-template.php.