maxgalleria_masonry_before_gallery_output

Description

This filter returns the content right before the gallery output when displayed with the masonry template.

Usage

add_filter('maxgalleria_masonry_before_gallery_output', 'masonry_before_gallery_output', 10, 4);

Parameters

$html
The content right before the gallery output.

$gallery
The gallery object.

$attachments
The gallery attachments.

$options
The gallery options.

Example

add_filter('maxgalleria_masonry_before_gallery_output', 'masonry_before_gallery_output', 10, 4);

function masonry_before_gallery_output($html, $gallery, $attachments, $options) {
}

Source Files

Defined in maxgalleria-masonry-hooks.php.

Used in maxgalleria-masonry-template.php.