1. is_featured( get_the_ID() ) && get_post_thumbnail_id( $airi_post ) ) { /** * Fire an action before the list widget featured image */ // phpcs:ignore WPThemeReview.CoreFunctionality.PrefixAllGlobals.NonPrefixedHooknameFound do_action( 'tribe_events_list_widget_before_the_event_image' ); /** * Allow the default post thumbnail size to be filtered * * @param $size */ $airi_thumbnail_size = apply_filters( 'tribe_events_list_widget_thumbnail_size', 'post-thumbnail' ); // phpcs:ignore WPThemeReview.CoreFunctionality.PrefixAllGlobals.NonPrefixedHooknameFound /** * Filters whether the featured image link should be added to the Events List Widget * * @since 4.5.13 * * @param bool $airi_featured_image_link Whether the featured image link should be added or not */ $airi_featured_image_link = apply_filters( 'tribe_events_list_widget_featured_image_link', true ); // phpcs:ignore WPThemeReview.CoreFunctionality.PrefixAllGlobals.NonPrefixedHooknameFound $airi_post_thumbnail = get_the_post_thumbnail( null, $airi_thumbnail_size ); if ( $airi_featured_image_link ) { $airi_post_thumbnail = '' . $airi_post_thumbnail . ''; } ?>

    ID ); ?>