|
|
第1行: |
第1行: |
| == Description ==
| |
|
| |
| == 返回== | | == 返回== |
|
| |
|
| Returns the next timestamp for a cron event.
| |
| 返回cron event下一次的时间标记。 | | 返回cron event下一次的时间标记。 |
| == Usage ==
| |
|
| |
| == 用法 == | | == 用法 == |
|
| |
| %%% $timestamp = wp_next_scheduled( hook, args (optional)); %%% | | %%% $timestamp = wp_next_scheduled( hook, args (optional)); %%% |
|
| |
|
| %%% $timestamp = wp_next_scheduled( hook, args (optional)); %%%
| | == 返回参数值 == |
| | ;时间标记:预定的操作下一次执行的时间(unix时间格式) |
|
| |
|
| == Return Value ==
| |
| == 返回参数值 ==
| |
| ; timestamp: The time the scheduled event will next occur (unix timestamp)
| |
| ;时间标记:预定的操作下一次执行的时间(unix时间格式)
| |
| == Parameters ==
| |
| == 参数 == | | == 参数 == |
| {{Parameter|$hook|string|Name of the action hook for event.}}
| |
| {{Parameter|$args|array|Arguments to pass to the hook function(s).|optional}}
| |
|
| |
|
| {{Parameter|$hook|string|event的action hook的名称。}} | | {{Parameter|$hook|string|event的action hook的名称。}} |
| {{Parameter|$args|array|将要传递给hook函数的参数。|optional}} | | {{Parameter|$args|array|将要传递给hook函数的参数。|optional}} |
|
| |
| See Also:
| |
| 也看看: | | 也看看: |
| * [[WordPress:Function_Reference/wp_schedule_event|wp_schedule_event]]
| |
| * [[WordPress:Function_Reference/wp_schedule_single_event|wp_schedule_single_event]]
| |
| * [[WordPress:Function_Reference/wp_clear_scheduled_hook|wp_clear_scheduled_hook]]
| |
| * [[WordPress:Function_Reference/wp_unschedule_event|wp_unschedule_event]]
| |
|
| |
|
| * [[WordPress:Function_Reference/wp_schedule_event|wp_schedule_event]] | | * [[WordPress:Function_Reference/wp_schedule_event|wp_schedule_event]] |
2008年7月29日 (二) 15:29的最新版本
返回[ ]
返回cron event下一次的时间标记。
用法[ ]
%%% $timestamp = wp_next_scheduled( hook, args (optional)); %%%
返回参数值[ ]
- 时间标记:预定的操作下一次执行的时间(unix时间格式)
参数[ ]
也看看: