Tribe__Events__Adjacent_Events::get_prev_event_link( boolean $anchor )

Get link to the previous event.


Parameters

$anchor

(boolean) (Required)


Top ↑

Return

(string)


Top ↑

Source

File: src/Tribe/Adjacent_Events.php

	public function get_prev_event_link( $anchor ) {

		if ( empty( $this->previous_event_link ) ) {
			$this->previous_event_link = $this->get_event_link( 'previous', $anchor );
		}

		return $this->previous_event_link;
	}

Top ↑

Changelog

Changelog
Version Description
4.6.12 Introduced.