# charitable/1.6.26/includes/interfaces/interface-charitable-addon.php

Charitable – Donation &amp; Fundraising Platform (Donation Forms, Recurring Donations &amp; Fundraising Campaigns), version 1.6.26. 46 lines.

- Page: https://pluginprobe.com/plugins/charitable/1.6.26/code/includes/interfaces/interface-charitable-addon.php
- Raw: https://pluginprobe.com/plugins/charitable/1.6.26/raw/includes/interfaces/interface-charitable-addon.php
- Modified: 2019-01-09T04:02:22+00:00

Line numbers below start at 1. Link to a line or a range by appending a fragment to the
page URL, for example `https://pluginprobe.com/plugins/charitable/1.6.26/code/includes/interfaces/interface-charitable-addon.php#L10-L20`.

```php
<?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    Eric Daams
 * @copyright Copyright (c) 2019, Studio 164a
 * @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;

```
