Tribe__Events__Adjacent_Events::get_prev_event_link( boolean $anchor )
Get link to the previous event.
Contents
Parameters
- $anchor
-
(boolean) (Required)
Return
(string)
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;
}
Changelog
| Version | Description |
|---|---|
| 4.6.12 | Introduced. |