# charitable/1.4.9/includes/addons/interface-charitable-addon.php

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

- Page: https://pluginprobe.com/plugins/charitable/1.4.9/code/includes/addons/interface-charitable-addon.php
- Raw: https://pluginprobe.com/plugins/charitable/1.4.9/raw/includes/addons/interface-charitable-addon.php
- Modified: 2017-01-18T06:07:00+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.4.9/code/includes/addons/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) 2015, Studio 164a
 * @license     http://opensource.org/licenses/gpl-2.0.php GNU Public License  
 */

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

if ( ! interface_exists( 'Charitable_Addon_Interface' ) ) : 

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

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

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

endif; // End interface_exists check.
```
