tribe_get_listview_past_link( int|null $term = null )

Returns a url to the general or category past view.


Parameters

$term

(int|null) (Optional) Term ID.

Default value: null


Top ↑

Return

(string) URL of the past list view.


Top ↑

Source

File: src/functions/template-tags/link.php

	function tribe_get_listview_past_link( $term = null ) {
		$tribe_ecp = Tribe__Events__Main::instance();
		$output    = $tribe_ecp->getLink( 'past', false, $term );

		return apply_filters( 'tribe_get_listview_past_link', $output );
	}

Top ↑

Changelog

Changelog
Version Description
2.0.1 Introduced.