Menu Adam R Brown

WP hooks navigation: Home/browseActions indexFilters index

Source View: cron_schedules

To save our bandwidth, we show only a snippet of code around each occurence of the hook. View complete file in SVN (without highlighting).

Understanding Source Code

The best way to understand what a hook does is to look at where it occurs in the source code.

Remember, this hook may occur in more than one file. Moreover, the hook's context may change from version to version.

Source View

Line Code
1079       *
1080       *     @type array ...$0 {
1081       *         Cron schedule information.
1082       *
1083       *         @type int    $interval The schedule interval in seconds.
1084       *         @type string $display  The schedule display name.
1085       *     }
1086       * }
1087       */
1088      return array_merge( apply_filters( 'cron_schedules', array() ), $schedules );
1089 }
1090
1091 /**
1092  * Retrieves the name of the recurrence schedule for an event.
1093  *
1094  * @see wp_get_schedules() for available schedules.
1095  *
1096  * @since 2.1.0
1097  * @since 5.1.0 {@see 'get_schedule'} filter added.