Changes from branches/2.7/wp-includes/cron.php at r10234 to trunk/wp-includes/cron.php at r9716
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/wp-includes/cron.php
r10234 r9716 17 17 * 18 18 * @param int $timestamp Timestamp for when to run the event. 19 * @param string $hook Action hook to executewhen cron is run.20 * @param array $args Optional. Arguments to pass to the hook 's callbackfunction.19 * @param callback $hook Function or method to call, when cron is run. 20 * @param array $args Optional. Arguments to pass to the hook function. 21 21 */ 22 22 function wp_schedule_single_event( $timestamp, $hook, $args = array()) { … … 44 44 * @param int $timestamp Timestamp for when to run the event. 45 45 * @param string $recurrence How often the event should recur. 46 * @param string $hook Action hook to executewhen cron is run.47 * @param array $args Optional. Arguments to pass to the hook 's callbackfunction.46 * @param callback $hook Function or method to call, when cron is run. 47 * @param array $args Optional. Arguments to pass to the hook function. 48 48 * @return bool|null False on failure, null when complete with scheduling event. 49 49 */ … … 66 66 * @param int $timestamp Timestamp for when to run the event. 67 67 * @param string $recurrence How often the event should recur. 68 * @param string $hook Action hook to executewhen cron is run.69 * @param array $args Optional. Arguments to pass to the hook 's callbackfunction.68 * @param callback $hook Function or method to call, when cron is run. 69 * @param array $args Optional. Arguments to pass to the hook function. 70 70 * @return bool|null False on failure. Null when event is rescheduled. 71 71 */ … … 101 101 * 102 102 * @param int $timestamp Timestamp for when to run the event. 103 * @param string $hook Action hook, the execution of which will be unscheduled. 104 * @param array $args Arguments to pass to the hook's callback function. 105 * Although not passed to a callback function, these arguments are used 106 * to uniquely identify the scheduled event, so they should be the same 107 * as those used when originally scheduling the event. 103 * @param callback $hook Function or method to call, when cron is run. 104 * @param array $args Optional. Arguments to pass to the hook function. 108 105 */ 109 106 function wp_unschedule_event( $timestamp, $hook, $args = array() ) { … … 123 120 * @since 2.1.0 124 121 * 125 * @param string $hook Action hook, the execution of which will be unscheduled.122 * @param callback $hook Function or method to call, when cron is run. 126 123 * @param mixed $args,... Optional. Event arguments. 127 124 */ … … 138 135 * @since 2.1.0 139 136 * 140 * @param string $hook Action hook to executewhen cron is run.141 * @param array $args Optional. Arguments to pass to the hook 's callbackfunction.137 * @param callback $hook Function or method to call, when cron is run. 138 * @param array $args Optional. Arguments to pass to the hook function. 142 139 * @return bool|int The UNIX timestamp of the next time the scheduled event will occur. 143 140 */ … … 284 281 * @since 2.1.0 285 282 * 286 * @param string $hook Action hook to executewhen cron is run.287 * @param array $args Optional. Arguments to pass to the hook 's callbackfunction.283 * @param callback $hook Function or method to call, when cron is run. 284 * @param array $args Optional. Arguments to pass to the hook function. 288 285 * @return string|bool False, if no schedule. Schedule on success. 289 286 */
Note: See TracChangeset
for help on using the changeset viewer.