Tribe__Events__iCal::month_view_ical_link( string $event_date = null )

Make sure when we grab a month link it includes the correct month.


Parameters #

$event_date

(string) (Optional) Date of the month we are getting the link for.

Default value: null


Top ↑

Return #

(string) The iCal export URL for the Month view.


Top ↑

Source #

File: src/Tribe/iCal.php

	public function month_view_ical_link( $event_date = null ) {
		$tec = Tribe__Events__Main::instance();

		return add_query_arg( [ 'ical' => 1 ], $tec->getLink( 'month', $event_date ) );
	}