Changeset 47060 for trunk/src/wp-includes/cron.php
- Timestamp:
- 01/11/2020 06:30:58 PM (13 months ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/src/wp-includes/cron.php
r46232 r47060 394 394 * @param string $hook Action hook, the execution of which will be unscheduled. 395 395 * @param array $args Optional. Arguments that were to be passed to the hook's callback function. 396 * @return false|intOn success an integer indicating number of events unscheduled (0 indicates no396 * @return int|false On success an integer indicating number of events unscheduled (0 indicates no 397 397 * events were registered with the hook and arguments combination), false if 398 398 * unscheduling one or more events fail. … … 462 462 * 463 463 * @param string $hook Action hook, the execution of which will be unscheduled. 464 * @return false|intOn success an integer indicating number of events unscheduled (0 indicates no464 * @return int|false On success an integer indicating number of events unscheduled (0 indicates no 465 465 * events were registered on the hook), false if unscheduling fails. 466 466 */ … … 529 529 * event, so they should be the same as those used when originally scheduling the event. 530 530 * @param int|null $timestamp Optional. Unix timestamp (UTC) of the event. If not specified, the next scheduled event is returned. 531 * @return false|objectThe event object. False if the event does not exist.531 * @return object|false The event object. False if the event does not exist. 532 532 */ 533 533 function wp_get_scheduled_event( $hook, $args = array(), $timestamp = null ) { … … 607 607 * Although not passed to a callback, these arguments are used to uniquely identify the 608 608 * event, so they should be the same as those used when originally scheduling the event. 609 * @return false|intThe Unix timestamp of the next time the event will occur. False if the event doesn't exist.609 * @return int|false The Unix timestamp of the next time the event will occur. False if the event doesn't exist. 610 610 */ 611 611 function wp_next_scheduled( $hook, $args = array() ) { … … 927 927 * @access private 928 928 * 929 * @return false|arrayCRON info array.929 * @return array|false CRON info array. 930 930 */ 931 931 function _get_cron_array() {
Note: See TracChangeset
for help on using the changeset viewer.