Make WordPress Core


Ignore:
Timestamp:
10/11/2022 09:00:33 AM (3 years ago)
Author:
johnbillion
Message:

Docs: Various improvements to inline docblocks.

See #55646

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/src/wp-includes/cron.php

    r54267 r54470  
    99 * Schedules an event to run only once.
    1010 *
    11  * Schedules a hook which will be triggered by WordPress at the specified time.
     11 * Schedules a hook which will be triggered by WordPress at the specified UTC time.
    1212 * The action will trigger when someone visits your WordPress site if the scheduled
    1313 * time has passed.
     
    207207 * Valid values for the recurrence are 'hourly', 'daily', and 'twicedaily'. These can
    208208 * be extended using the {@see 'cron_schedules'} filter in wp_get_schedules().
    209  *
    210  * Note that scheduling an event to occur within 10 minutes of an existing event
    211  * with the same action hook will be ignored unless you pass unique `$args` values
    212  * for each scheduled event.
    213209 *
    214210 * Use wp_next_scheduled() to prevent duplicate events.
     
    318314 * Reschedules a recurring event.
    319315 *
    320  * Mainly for internal use, this takes the time stamp of a previously run
     316 * Mainly for internal use, this takes the UTC timestamp of a previously run
    321317 * recurring event and reschedules it for its next run.
    322318 *
     
    384380     *
    385381     * For plugins replacing wp-cron, return true if the event was successfully
    386      * rescheduled, false if not.
     382     * rescheduled, false or a WP_Error if not.
    387383     *
    388384     * @since 5.1.0
     
    481477     *
    482478     * For plugins replacing wp-cron, return true if the event was successfully
    483      * unscheduled, false if not.
     479     * unscheduled, false or a WP_Error if not.
    484480     *
    485481     * @since 5.1.0
     
    562558     * For plugins replacing wp-cron, return the number of events successfully
    563559     * unscheduled (zero if no events were registered with the hook) or false
    564      * if unscheduling one or more events fails.
     560     * or a WP_Error if unscheduling one or more events fails.
    565561     *
    566562     * @since 5.1.0
Note: See TracChangeset for help on using the changeset viewer.