attr( 'hasGoogleCalendar' ); $has_ical = $this->attr( 'hasiCal' ); $should_render = $has_google_cal || $has_ical; remove_filter( 'the_content', 'do_blocks', 9 ); if ( $should_render ) : ?>