# charitable/1.6.60/includes/interfaces/interface-charitable-endpoint.php

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

- Page: https://pluginprobe.com/plugins/charitable/1.6.60/code/includes/interfaces/interface-charitable-endpoint.php
- Raw: https://pluginprobe.com/plugins/charitable/1.6.60/raw/includes/interfaces/interface-charitable-endpoint.php
- Modified: 2022-04-22T02:32:34+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.60/code/includes/interfaces/interface-charitable-endpoint.php#L10-L20`.

```php
<?php
/**
 * Endpoint interface.
 *
 * This defines a strict interface that all endpoint classes must implement.
 *
 * @package   Charitable/Interfaces/Charitable_Endpoint_Interface
 * @author    Eric Daams
 * @copyright Copyright (c) 2022, Studio 164a
 * @license   http://opensource.org/licenses/gpl-2.0.php GNU Public License
 * @since     1.5.0
 * @version   1.5.9
 */

if ( ! defined( 'ABSPATH' ) ) {
	exit;
}

if ( ! interface_exists( 'Charitable_Endpoint_Interface' ) ) :

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

		/**
		 * Return the endpoint ID.
		 *
		 * @since  1.5.0
		 *
		 * @return string
		 */
		public static function get_endpoint_id();

		/**
		 * Return the endpoint URL.
		 *
		 * @since  1.5.0
		 *
		 * @param  array $args Mixed args.
		 * @return string
		 */
		public function get_page_url( $args = array() );

		/**
		 * Return whether we are currently viewing the endpoint.
		 *
		 * @since  1.5.0
		 *
		 * @param  array $args Mixed args.
		 * @return boolean
		 */
		public function is_page( $args = array() );
	}

endif;

```
