<?php

/**
 * Fired during plugin deactivation.
 *
 * @link    https://aiopodcasting.com
 * @since   1.0.0
 *
 * @package AiO_Podcast_Studio
 */

// Exit if accessed directly
if ( ! defined( 'WPINC' ) ) {
	die;
}

/**
 * AIOPOD_Deactivator class.
 *
 * @since 1.0.0
 */
class AIOPOD_Deactivator {

	/**
	 * Called when the plugin is deactivated.
	 *
	 * @since 1.0.0
	 */
	public static function deactivate() {	
		if ( wp_next_scheduled( 'aiopod_schedule_every_five_minutes' ) ) {
			wp_clear_scheduled_hook( 'aiopod_schedule_every_five_minutes' );
		}
	}

}
