apply_filters( 'mc_override_featured_image', $return, $event, $data ) → {bool}
Fires when displaying an event image in the default template. Return false to show the template image rather than the theme's featured image.
Parameters:
Name | Type | Description |
---|---|---|
$return |
bool | True to return thumbnail in templates. |
$event |
object | Event object. |
$data |
array | Event template tags. |
- Since:
- 3.3.0
- Source:
Returns:
- Type
- bool