eo_get_permalink
since 2.13
eo_get_permalink( $event_id = false, $occurrence_id = false )
A helper function which can replace get_permalinks() to be occurrence-aware
Parameters
int
|
$event_id = false |
The event ID. Uses current event if not provided.
|
int
|
$occurrence_id = false |
The occurrence ID. Uses current event if not provided.
|
Return value
string
|
The event permalink
|
Hooks
Changelog