我正在使用WordPress,并且我的日历中有此重复发生的事件。预订活动时,还向客户发送了一封电子邮件。事实是,通过电子邮件发送给我的客户的活动日期是重复活动的开始日期,而不是预订活动的开始日期。我正在使用“事件日历”插件以及“事件日历”专业版。
这是我主题的function.php中的代码片段
public class MyTable
{
#region Instance Properties
[Key]
public int MyID { get; set; }
public int? MyNullableID { get; set; }
#endregion Instance Properties
答案 0 :(得分:0)
// get just the date
echo tribe_get_start_time ( $event_id, 'd. F');
// get just the time
echo tribe_get_start_time ( $event_id, 'H:i');
希望这会有所帮助。