Filter: mc_post_thumbnail_atts

apply_filters( 'mc_post_thumbnail_atts', $atts, $event ) → {array}

Customize featured image attributes.

Parameters:
Name Type Description
$atts array

Array of attributes passed to get_the_post_thumbnail

$event object

Event object.

Source:
Returns:
Type
array

apply_filters( 'mc_post_thumbnail_atts', $atts ) → {array}

Attributes added to My Calendar event images. Default array( 'class' => 'mc-image' ). See get_the_post_thumbnail() docs at WordPress.org.

Parameters:
Name Type Description
$atts array

Array of image attributes.

Source:
Returns:

Array of image attributes.

Type
array