iCalendar_Handler::get_subscribe_links( TribeEventsViewsV2View|null $view = null )

Builds the subscribe links in a separate process.


Parameters

$view

(TribeEventsViewsV2View|null) (Optional)

Default value: null


Top ↑

Return

(array)


Top ↑

Source

File: src/Tribe/Views/V2/iCalendar/iCalendar_Handler.php

	public function get_subscribe_links( View $view = null ) {
		// Set up the list of links.
		$subscribe_links = [];

		/**
		 * Allows each link type to dynamically add itself to the list for Calendar views.
		 *
		 * @since 5.12.0
		 *
		 * @param array<string|object> $subscribe_links The array of links.
		 * @param View|null            $view            The View implementation.
		 */
		return apply_filters( 'tec_views_v2_subscribe_links', $subscribe_links, $view );
	}

Top ↑

Changelog

Changelog
Version Description
5.12.0 Introduced.