get_schedule WordPress Filter Hook

The get_schedule Wordpress hook is used to retrieve the schedule for a particular event. This can be used to display the schedule on a website or to export it to a file.

apply_filters( 'get_schedule', string|false $schedule, string $hook, array $args ) #

Filters the schedule for a hook.


Parameters

$schedule

(string|false)Schedule for the hook. False if not found.

$hook

(string)Action hook to execute when cron is run.

$args

(array)Arguments to pass to the hook's callback function.


Top ↑

Source

File: wp-includes/cron.php

View on Trac



Top ↑

Changelog

Changelog
VersionDescription
5.1.0Introduced.

The content displayed on this page has been created in part by processing WordPress source code files which are made available under the GPLv2 (or a later version) license by theĀ Free Software Foundation. In addition to this, the content includes user-written examples and information. All material is subject to review and curation by the WPPaste.com community.