maxgalleria_masonry_image_crop

Description

This filter returns a boolean value indicating whether or not the masonry image for the gallery should be cropped.

Usage

add_filter('maxgalleria_masonry_image_crop', 'masonry_image_crop', 10, 1);

Parameters

$crop
Boolean value indicating whether or not the masonry image for the gallery should be cropped (default: true).

Example

add_filter('maxgalleria_masonry_image_crop', 'masonry_image_crop', 10, 1);

function masonry_image_crop($crop) {
}

Source Files

Defined in maxgalleria-masonry-hooks.php.

Used in maxgalleria-masonry-template.php.