Warning: file_get_contents(/data/phpspider/zhask/data//catemap/1/php/282.json): failed to open stream: No such file or directory in /data/phpspider/zhask/libs/function.php on line 167

Warning: Invalid argument supplied for foreach() in /data/phpspider/zhask/libs/tag.function.php on line 1116

Notice: Undefined index: in /data/phpspider/zhask/libs/function.php on line 180

Warning: array_chunk() expects parameter 1 to be array, null given in /data/phpspider/zhask/libs/function.php on line 181

Warning: file_get_contents(/data/phpspider/zhask/data//catemap/1/wordpress/12.json): failed to open stream: No such file or directory in /data/phpspider/zhask/libs/function.php on line 167

Warning: Invalid argument supplied for foreach() in /data/phpspider/zhask/libs/tag.function.php on line 1116

Notice: Undefined index: in /data/phpspider/zhask/libs/function.php on line 180

Warning: array_chunk() expects parameter 1 to be array, null given in /data/phpspider/zhask/libs/function.php on line 181
Php 仅在Worpdress中计划事件时显示日历?_Php_Wordpress_Plugins - Fatal编程技术网

Php 仅在Worpdress中计划事件时显示日历?

Php 仅在Worpdress中计划事件时显示日历?,php,wordpress,plugins,Php,Wordpress,Plugins,我们正在使用_事件日历功能免费版。但是我们需要定制插件,只显示事件发生的当天。 我们怎么能做到呢 听说我们需要跳过第3、4和5排 链接:转到事件插件代码,您可以显示eventmanagres.php文件,在该文件中,您可以看到函数的时间段以及月份和年份。 但对于每天发生的事件,您希望为此创建函数 数组部落\u事件\u获取\u当前\u月份\u日期() 字符串| null tribe_get_start_date(int$event=null,bool$display_time=true,stri

我们正在使用_事件日历功能免费版。但是我们需要定制插件,只显示事件发生的当天。 我们怎么能做到呢

听说我们需要跳过第3、4和5排
链接:

转到事件插件代码,您可以显示eventmanagres.php文件,在该文件中,您可以看到函数的时间段以及月份和年份。 但对于每天发生的事件,您希望为此创建函数 数组部落\u事件\u获取\u当前\u月份\u日期() 字符串| null tribe_get_start_date(int$event=null,bool$display_time=true,string$date_format='',string$timezone=null)

使用此函数,您只需首先通过数据库查找日期,然后将此函数添加到现有函数中,然后获得当前日期事件