wp_clear_scheduled_hook ( $hook, $args = array() )
- (string) $hook Action hook, the execution of which will be unscheduled.
- (array) $args Optional. Arguments that were to be passed to the hook's callback function.
- Introduced in WordPress: 2.1.0
- Deprecated in WordPress: —
Unschedules all events attached to the hook with the specified arguments.