Description

Returns a start date of a given event in a specified date type.

Usage

em_get_the_start($post_id, $type)

Parameters

  • $post_id | int – event (post) ID (required)
  • $type | string – date returned in one of the following types: (optional)
    • datetime – date and time
    • time – only time
    • date – only date

Return

The date in a given type, optionally modified by the em_get_the_start filter hook. FALSE on failure or 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.