<?php
/**
 * Addon interface.
 *
 * This defines a strict interface that all Core Addons must implement
 *
 * @version   1.0.0
 * @package   Charitable/Interfaces/Charitable_Addon_Interface
 * @author    David Bisset
 * @copyright Copyright (c) 2023, WP Charitable LLC
 * @license   http://opensource.org/licenses/gpl-2.0.php GNU Public License
 */

// Exit if accessed directly.
if ( ! defined( 'ABSPATH' ) ) {
	exit;
}

if ( ! interface_exists( 'Charitable_Addon_Interface' ) ) :

	/**
	 * Charitable_Addon_Interface interface.
	 *
	 * @since 1.0.0
	 */
	interface Charitable_Addon_Interface {

		/**
		 * Activate the addon.
		 *
		 * @since  1.0.0
		 *
		 * @return void
		 */
		public static function activate();

		/**
		 * Load the addon.
		 *
		 * @since  1.0.0
		 *
		 * @return void
		 */
		public static function load();
	}

endif;
