Changes from trunk/wp-includes/cron.php at r9716 to branches/2.7/wp-includes/cron.php at r10234
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
branches/2.7/wp-includes/cron.php
r9716 r10234 17 17 * 18 18 * @param int $timestamp Timestamp for when to run the event. 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.19 * @param string $hook Action hook to execute when cron is run. 20 * @param array $args Optional. Arguments to pass to the hook's callback 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 callback $hook Function or method to call,when cron is run.47 * @param array $args Optional. Arguments to pass to the hook function.46 * @param string $hook Action hook to execute when cron is run. 47 * @param array $args Optional. Arguments to pass to the hook's callback 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 callback $hook Function or method to call,when cron is run.69 * @param array $args Optional. Arguments to pass to the hook function.68 * @param string $hook Action hook to execute when cron is run. 69 * @param array $args Optional. Arguments to pass to the hook's callback 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 callback $hook Function or method to call, when cron is run. 104 * @param array $args Optional. Arguments to pass to the hook function. 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. 105 108 */ 106 109 function wp_unschedule_event( $timestamp, $hook, $args = array() ) { … … 120 123 * @since 2.1.0 121 124 * 122 * @param callback $hook Function or method to call, when cron is run.125 * @param string $hook Action hook, the execution of which will be unscheduled. 123 126 * @param mixed $args,... Optional. Event arguments. 124 127 */ … … 135 138 * @since 2.1.0 136 139 * 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.140 * @param string $hook Action hook to execute when cron is run. 141 * @param array $args Optional. Arguments to pass to the hook's callback function. 139 142 * @return bool|int The UNIX timestamp of the next time the scheduled event will occur. 140 143 */ … … 281 284 * @since 2.1.0 282 285 * 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.286 * @param string $hook Action hook to execute when cron is run. 287 * @param array $args Optional. Arguments to pass to the hook's callback function. 285 288 * @return string|bool False, if no schedule. Schedule on success. 286 289 */
Note: See TracChangeset
for help on using the changeset viewer.