2017-01-09 76 views

回答

0

转到the_event插件代码,并可以显示eventmanagres.php文件,并在文件中这样你可以看到功能月份和年份的时间段。 但你想为此日常事件发生创建此函数 array tribe_events_get_current_month_date() string | null tr​​ibe_get_start_date(int $ event = null,bool $ display_time = true,string $ date_format ='',string $ timezone = null )

使用此函数,您只需通过数据库找到第一个日期,比现在在现有函数中添加此函数的时间要多于当前日期事件。