# charitable/1.6.7/includes/interfaces/interface-charitable-email-fields.php

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

- Page: https://pluginprobe.com/plugins/charitable/1.6.7/code/includes/interfaces/interface-charitable-email-fields.php
- Raw: https://pluginprobe.com/plugins/charitable/1.6.7/raw/includes/interfaces/interface-charitable-email-fields.php
- Modified: 2018-12-06T08:05:32+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.7/code/includes/interfaces/interface-charitable-email-fields.php#L10-L20`.

```php
<?php
/**
 * Charitable Email Fields interface.
 *
 * This defines a strict interface that email fields classes must implement.
 *
 * @version   1.5.0
 * @package   Charitable/Interfaces/Charitable_Email_Fields_Interface
 * @author    Eric Daams
 * @copyright Copyright (c) 2018, 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_Email_Fields_Interface' ) ) :

    /**
     * Charitable_Email_Fields_Interface interface.
     *
     * @since 1.5.0
     */
    interface Charitable_Email_Fields_Interface {

        /**
         * Return email fields.
         *
         * @since  1.5.0
         *
         * @return array
         */
        public function get_fields();
    }

endif;

```
