tribe_get_listview_link( int|null $term = null )

Returns a link to the general or category upcoming view.


Parameters

$term

(int|null) (Optional) Event category ID to link to.

Default value: null


Top ↑

Return

(string) The URL of the list view.


Top ↑

Source

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

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

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

Top ↑

Changelog

Changelog
Version Description
2.0.1 Introduced.