常用函数-wp_reschedule_event()

0条评论

说明

WordPress内部使用该函数来重新安排某个已发生事件。用户可能永远都不需要手动使用这个函数。将函数列在这里是为了保证手册的完整性。

用法

 <?php wp_reschedule_event( timestamp, recurrence, hook, args (optional)); 

参数

timestamp

已安排事件的执行时间(UNIX时间标记格式)

recurrance

事件执行周期,'hourly'或'daily'

hook

需要被执行的动作钩子的名称

args

传递给钩子函数的参数

延伸阅读

完整WordPress函数列表请见常用函数

发表新评论

此内容将保密,不会被其他人看见。
  • 自动将网址与电子邮件地址转变为链接。
  • 允许HTML标签:<a> <em> <strong> <cite> <code> <ul> <ol> <li> <dl> <dt> <dd>
  • 自动断行和分段。

更多关於格式化选项的信息

CAPTCHA
This question is for testing whether you are a human visitor and to prevent automated spam submissions.
Image CAPTCHA
Enter the characters shown in the image.