maxgalleria_material_design_image_crop

Description

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

Usage

add_filter('maxgalleria_material_design_image_crop', 'material_design_image_crop', 10, 1);

Parameters

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

Example

add_filter('maxgalleria_material_design_image_crop', 'material_design_image_crop', 10, 1);

function material_design_image_crop($crop) {
}

Source Files

Defined in maxgalleria-material-design-hooks.php.

Used in maxgalleria-material-design-template.php.