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:
  • 5: .

Description

Retrieves the name of the recurrence schedule for an event.

Related Functions

wp_get_schedules, wp_next_scheduled, wp_get_scheduled_event, wp_get_theme, wp_get_db_schema

Top Google Results

User discussions

wpseek mobile