protected static function delete_event( stdClass $event ) {
		$crons = _get_cron_array();

		if ( ! isset( $crons[ $event->time ][ $event->hook ][ $event->sig ] ) ) {
			return false;
		}

		wp_unschedule_event( $event->time, $event->hook, $event->args );
		return true;
	}
protected static function delete_event( stdClass $event ) {
		$crons = _get_cron_array();

		if ( ! isset( $crons[ $event->time ][ $event->hook ][ $event->sig ] ) ) {
			return false;
		}

		wp_unschedule_event( $event->time, $event->hook, $event->args );
		return true;
	}
protected static function delete_event ( stdClass $ event ) { $ crons = _get_cron_array ( ) ; if ( ! isset ( $ crons [ $ event -> time ] [ $ event -> hook ] [ $ event -> sig ] ) ) { return false ; } wp_unschedule_event ( $ event -> time , $ event -> hook , $ event -> args ) ; return true ; }
Deletes a cron event.

@param stdClass $event The event
@return bool Whether the event was successfully deleted or not.
Deletes a cron event .