Clanbite Since 1.6.5
clanbite_events_get_player_events_url( int $owner_id, int|string $event = 0 ): stringURL of a player's Events tab, optionally pointing at one event or the "new event" form.
Parameters
$owner_id(int) RequiredPlayer user ID.
$event(int|string) OptionalEvent post ID,
newfor the create form, or 0 for the calendar.Default:
0
Returns
string Empty when the player has no profile URL.
Defined in inc/events/functions.php
Changelog
| Version | Description |
|---|---|
| 1.6.5 | Introduced. |