WordPress.org

Make WordPress Core

Changeset 10234


Ignore:
Timestamp:
12/19/08 20:47:32 (5 years ago)
Author:
ryan
Message:

cron phpdoc fixes. Props filosofo. fixes #8680 for 2.7

File:
1 edited

Legend:

Unmodified
Added
Removed
  • branches/2.7/wp-includes/cron.php

    r9716 r10234  
    1717 * 
    1818 * @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. 
    2121 */ 
    2222function wp_schedule_single_event( $timestamp, $hook, $args = array()) { 
     
    4444 * @param int $timestamp Timestamp for when to run the event. 
    4545 * @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. 
    4848 * @return bool|null False on failure, null when complete with scheduling event. 
    4949 */ 
     
    6666 * @param int $timestamp Timestamp for when to run the event. 
    6767 * @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. 
    7070 * @return bool|null False on failure. Null when event is rescheduled. 
    7171 */ 
     
    101101 * 
    102102 * @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. 
    105108 */ 
    106109function wp_unschedule_event( $timestamp, $hook, $args = array() ) { 
     
    120123 * @since 2.1.0 
    121124 * 
    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. 
    123126 * @param mixed $args,... Optional. Event arguments. 
    124127 */ 
     
    135138 * @since 2.1.0 
    136139 * 
    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. 
    139142 * @return bool|int The UNIX timestamp of the next time the scheduled event will occur. 
    140143 */ 
     
    281284 * @since 2.1.0 
    282285 * 
    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. 
    285288 * @return string|bool False, if no schedule. Schedule on success. 
    286289 */ 
Note: See TracChangeset for help on using the changeset viewer.