Tribe__Events__Pro__Main::get_all_link( string $link )

When showing All events for a recurring event, override the default link


Parameters

$link

(string) (Required) Current page link


Top ↑

Return

(string) Recurrence compatible current page link


Top ↑

Source

File: src/Tribe/Main.php

		public function get_all_link( $link ) {
			if ( ! tribe_is_showing_all() && ! isset( $_POST['tribe_post_parent'] ) ) {
				return $link;
			}

			return $this->get_link( null, 'all', null, null );
		}