source/php/PostTypes/Events.php
public function getCustomContent()
    {
        global $post;
        $get_date = (!empty(get_query_var('date'))) ? get_query_var('date') : false;

        if ($get_date != false) {
            $occasions = \EventManagerIntegration\Helper\QueryEvents::getEventOccasions($post->ID, false);
            foreach ($occasions as $o) {
                $event_date = preg_replace('/\D/', '', $o->start_date);
                // Replace content with occasion custom content
                if ($get_date == $event_date && !empty($o->content) && $o->content_mode == 'custom') {
                    return $o->content;
                }
            }
        }
    }
public function getCustomContent()
    {
        global $post;
        $get_date = (!empty(get_query_var('date'))) ? get_query_var('date') : false;

        if ($get_date != false) {
            $occasions = \EventManagerIntegration\Helper\QueryEvents::getEventOccasions($post->ID, false);
            foreach ($occasions as $o) {
                $event_date = preg_replace('/\D/', '', $o->start_date);
                // Replace content with occasion custom content
                if ($get_date == $event_date && !empty($o->content) && $o->content_mode == 'custom') {
                    return $o->content;
                }
            }
        }
    }
Get custom occasion content
@return string