/
home
/
assocoweys
/
comgk
/
wp-content
/
plugins
/
comcharitable
/
includes
/
interfaces
/
Upload File
HOME
<?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) 2019, 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;