wp_get_schedule
wp_get_schedule ( $hook, $args = array() )
Parameters:- (string) hook Action hook to identify the event.
- (array) args Optional. Arguments passed to the event's callback function. Default empty array.
See:Returns:- (string|false) Schedule name on success, false if no schedule.
Defined at:Change Log: - Introduced in WordPress: 2.1.0
- Deprecated in WordPress: —
Description
Retrieves the name of the recurrence schedule for an event.