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.
Leave a Reply