Changeset 61639
- Timestamp:
- 02/13/2026 08:25:57 PM (3 weeks ago)
- File:
-
- 1 edited
-
trunk/src/wp-includes/cron.php (modified) (6 diffs)
Legend:
- Unmodified
- Added
- Removed
-
trunk/src/wp-includes/cron.php
r61387 r61639 34 34 * is passed to the callback as an individual parameter. 35 35 * The array keys are ignored. Default empty array. 36 * 37 * These arguments are used to uniquely identify the 38 * scheduled event and must match those used when the 39 * event was originally scheduled. If the arguments 40 * do not match exactly, WordPress will treat the 41 * event as different, which can lead to duplicate 42 * cron events being scheduled unintentionally, 43 * excessive growth of the 'cron' option, and 44 * database performance issues. 36 45 * @param bool $wp_error Optional. Whether to return a WP_Error on failure. Default false. 37 46 * @return bool|WP_Error True if event successfully scheduled. False or WP_Error on failure. … … 229 238 * is passed to the callback as an individual parameter. 230 239 * The array keys are ignored. Default empty array. 240 * 241 * These arguments are used to uniquely identify the 242 * scheduled event and must match those used when the 243 * event was originally scheduled. If the arguments 244 * do not match exactly, WordPress will treat the 245 * event as different, which can lead to duplicate 246 * cron events being scheduled unintentionally, 247 * excessive growth of the 'cron' option, and 248 * database performance issues. 231 249 * @param bool $wp_error Optional. Whether to return a WP_Error on failure. Default false. 232 250 * @return bool|WP_Error True if event successfully scheduled. False or WP_Error on failure. … … 335 353 * is passed to the callback as an individual parameter. 336 354 * The array keys are ignored. Default empty array. 355 * 356 * These arguments are used to uniquely identify the 357 * scheduled event and must match those used when the 358 * event was originally scheduled. If the arguments 359 * do not match exactly, WordPress will treat the 360 * event as different, which can lead to duplicate 361 * cron events being scheduled unintentionally, 362 * excessive growth of the 'cron' option, and 363 * database performance issues. 337 364 * @param bool $wp_error Optional. Whether to return a WP_Error on failure. Default false. 338 365 * @return bool|WP_Error True if event successfully rescheduled. False or WP_Error on failure. … … 455 482 * @param array $args Optional. Array containing each separate argument to pass to the hook's callback function. 456 483 * Although not passed to a callback, these arguments are used to uniquely identify the 457 * event, so they should be the same as those used when originally scheduling the event.458 * Default empty array.484 * event, so they must match those used when originally scheduling the event. If the 485 * arguments do not match exactly, the event will not be found. Default empty array. 459 486 * @param bool $wp_error Optional. Whether to return a WP_Error on failure. Default false. 460 487 * @return bool|WP_Error True if event successfully unscheduled. False or WP_Error on failure. … … 540 567 * @param array $args Optional. Array containing each separate argument to pass to the hook's callback function. 541 568 * Although not passed to a callback, these arguments are used to uniquely identify the 542 * event, so they should be the same as those used when originally scheduling the event.543 * Default empty array.569 * event, so they must match those used when originally scheduling the event. If the 570 * arguments do not match exactly, the event will not be found. Default empty array. 544 571 * @param bool $wp_error Optional. Whether to return a WP_Error on failure. Default false. 545 572 * @return int|false|WP_Error On success an integer indicating number of events unscheduled (0 indicates no … … 826 853 * @param array $args Optional. Array containing each separate argument to pass to the hook's callback function. 827 854 * Although not passed to a callback, these arguments are used to uniquely identify the 828 * event, so they should be the same as those used when originally scheduling the event.829 * Default empty array.855 * event, so they must match those used when originally scheduling the event. If the 856 * arguments do not match exactly, the event will not be found. Default empty array. 830 857 * @return int|false The Unix timestamp (UTC) of the next time the event will occur. False if the event doesn't exist. 831 858 */
Note: See TracChangeset
for help on using the changeset viewer.