From f4f1ed43e7191d0442ac27a57c3cc0c9598bcd3a Mon Sep 17 00:00:00 2001 From: Sergey Biryukov Date: Fri, 11 Sep 2015 11:34:52 +0000 Subject: [PATCH] Document `@return` value for `wp_unschedule_event()`. See #33475. git-svn-id: https://develop.svn.wordpress.org/trunk@34044 602fd350-edb4-49c9-b593-d223f7449a82 --- src/wp-includes/cron.php | 1 + 1 file changed, 1 insertion(+) diff --git a/src/wp-includes/cron.php b/src/wp-includes/cron.php index 8eb8de1c0f..b6daeffc74 100644 --- a/src/wp-includes/cron.php +++ b/src/wp-includes/cron.php @@ -161,6 +161,7 @@ function wp_reschedule_event( $timestamp, $recurrence, $hook, $args = array() ) * Although not passed to a callback function, these arguments are used * to uniquely identify the scheduled event, so they should be the same * as those used when originally scheduling the event. + * @return false|void False when an event is not unscheduled. */ function wp_unschedule_event( $timestamp, $hook, $args = array() ) { // Make sure timestamp is a positive integer