/** * Prints the formated date of next occurrence of an event * @since 1.0.0 * @uses eo_get_next_occurence() * @package event-date-functions * * @param string $format The format to use, using PHP Date format * @param int $post_id The event (post) ID. Uses current event if empty. */ function eo_next_occurence($format = '', $post_id = 0) { echo eo_get_next_occurence($format, $post_id); }
/** * Echos the formated date of next occurrence * * @param string - the format to use, using PHP Date format * @param id - Optional, the event (post) ID, * @since 1.0.0 */ function eo_next_occurence($format = '', $id = '') { echo eo_get_next_occurence($format, $id); }