Organizer Functions
Display functions (template-tags) for use in WordPress templates.
Table Of Contents
Get Organizer
tribe_get_organizer([int $postId = null])
Returns the name of the Organizer
Parameters
-
int
$postId: Can supply either event id or organizer id, if none specified, current post is used
Returns
- string
More Info
- return: Organizer’s Name
- since: 2.0
Organizer Email
tribe_get_organizer_email([int $postId = null])
Returns the Organizer’s Email
Parameters
-
int
$postId: Can supply either event id or organizer id, if none specified, current post is used
Returns
- string
More Info
- return: Organizer’s Email
- since: 2.0
Organizer ID
tribe_get_organizer_id([int $postId = null])
Returns the event Organizer ID.
Parameters
-
int
$postId: Can supply either event id or organizer id, if none specified, current post is used
Returns
- int
More Info
- return: Organizer
- since: 2.0
Organizer Website Link
tribe_get_organizer_link([int $postId = null], [bool $display = true])
Returns the event Organizer Name with a link to their supplied website url
Parameters
-
int
$postId: Can supply either event id or organizer id, if none specified, current post is used -
bool
$display: If true displays full html links around organizers name, if false returns just the link without displaying it
Returns
- string
More Info
- return: Organizer Name and Url
- since: 2.0
Organizer Phone
tribe_get_organizer_phone([int $postId = null])
Returns the event Organizer’s phone number
Parameters
-
int
$postId: Can supply either event id or organizer id, if none specified, current post is used
Returns
- string
More Info
- return: Organizer’s Phone Number
- since: 2.0
Organizer Test
tribe_has_organizer([int $postId = null])
Returns true or false depending on if the post id has/is a n organizer
Parameters
-
int
$postId: Can supply either event id or organizer id, if none specified, current post is used
Returns
- bool
More Info
- since: 2.0
