Changeset 56414 for trunk/src/wp-includes/cron.php
- Timestamp:
- 08/18/2023 05:27:16 PM (3 years ago)
- File:
-
- 1 edited
-
trunk/src/wp-includes/cron.php (modified) (10 diffs)
Legend:
- Unmodified
- Added
- Removed
-
trunk/src/wp-includes/cron.php
r56394 r56414 58 58 59 59 /** 60 * Filter to preflight or hijackscheduling an event.60 * Filter to override scheduling an event. 61 61 * 62 62 * Returning a non-null value will short-circuit adding the event to the … … 377 377 378 378 /** 379 * Filter to preflight or hijackrescheduling of a recurring event.379 * Filter to override rescheduling of a recurring event. 380 380 * 381 381 * Returning a non-null value will short-circuit the normal rescheduling … … 474 474 475 475 /** 476 * Filter to preflight or hijackunscheduling of events.476 * Filter to override unscheduling of events. 477 477 * 478 478 * Returning a non-null value will short-circuit the normal unscheduling … … 527 527 * Unschedules all events attached to the hook with the specified arguments. 528 528 * 529 * Warning: This function may return Boolean FALSE, but may also return a non-Boolean530 * value which evaluates to FALSE. For information about casting to booleans see the529 * Warning: This function may return boolean false, but may also return a non-boolean 530 * value which evaluates to false. For information about casting to booleans see the 531 531 * {@link https://www.php.net/manual/en/language.types.boolean.php PHP documentation}. Use 532 532 * the `===` operator for testing the return value of this function. … … 564 564 565 565 /** 566 * Filter to preflight or hijackclearing a scheduled hook.566 * Filter to override clearing a scheduled hook. 567 567 * 568 568 * Returning a non-null value will short-circuit the normal unscheduling … … 638 638 * Can be useful for plugins when deactivating to clean up the cron queue. 639 639 * 640 * Warning: This function may return Boolean FALSE, but may also return a non-Boolean641 * value which evaluates to FALSE. For information about casting to booleans see the640 * Warning: This function may return boolean false, but may also return a non-boolean 641 * value which evaluates to false. For information about casting to booleans see the 642 642 * {@link https://www.php.net/manual/en/language.types.boolean.php PHP documentation}. Use 643 643 * the `===` operator for testing the return value of this function. … … 654 654 function wp_unschedule_hook( $hook, $wp_error = false ) { 655 655 /** 656 * Filter to preflight or hijackclearing all events attached to the hook.656 * Filter to override clearing all events attached to the hook. 657 657 * 658 658 * Returning a non-null value will short-circuit the normal unscheduling … … 750 750 function wp_get_scheduled_event( $hook, $args = array(), $timestamp = null ) { 751 751 /** 752 * Filter to preflight or hijackretrieving a scheduled event.752 * Filter to override retrieving a scheduled event. 753 753 * 754 754 * Returning a non-null value will short-circuit the normal process, … … 966 966 * @since 5.7.0 Functionality moved to _wp_cron() to which this becomes a wrapper. 967 967 * 968 * @return bool|int|void On success an integer indicating number of events spawned (0 indicates no969 * events needed to be spawned), false if spawning fails for one or more events or970 * void if the function registered _wp_cron() to run on the action.968 * @return false|int|void On success an integer indicating number of events spawned (0 indicates no 969 * events needed to be spawned), false if spawning fails for one or more events or 970 * void if the function registered _wp_cron() to run on the action. 971 971 */ 972 972 function wp_cron() { … … 1161 1161 function wp_get_ready_cron_jobs() { 1162 1162 /** 1163 * Filter to preflight or hijackretrieving ready cron jobs.1163 * Filter to override retrieving ready cron jobs. 1164 1164 * 1165 1165 * Returning an array will short-circuit the normal retrieval of ready
Note:
See TracChangeset
for help on using the changeset viewer.
![(please configure the [header_logo] section in trac.ini)](/chrome/site/your_project_logo.png)