Description

Retrieves a single event organizer data.

Usage

em_get_organizer($term_id)

Parameters

  • $term_id | int – event organizer (term) ID (optional)
    In case the $term_id is not passed, function tries to automatically detect the requested object using get_queried_object() function.

Return

A term object with additional ‘organizer_meta’ key, that contains addition organizer metadata: Contact name, Phone, Email, Website. Returns FALSE if ‘event-organizer’ is disabled (not registered) or NULL if the $term_id was not given and querried object was not detected or in case of any other errors.

No replies yet

Be first to start the conversation.

Leave a Reply

Please, do not use this form for technical support. To get support for our plugins, use the support forum.

Your email address will not be published. Required fields are marked *