Description

Retrieves all category data for a given event.

Usage

em_get_categories_for($post_id)

Parameters

  • $post_id | int – event (post) ID (required)

Return

Array of term objects. Returns FALSE if ‘event-category’ is disabled (not registered) or NULL 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 *