mirror of
https://github.com/proelements/proelements.git
synced 2026-04-05 20:13:47 +00:00
19 lines
362 B
PHP
19 lines
362 B
PHP
<?php
|
|
namespace ElementorPro\Core\Data\Interfaces;
|
|
|
|
if ( ! defined( 'ABSPATH' ) ) {
|
|
exit; // Exit if accessed directly
|
|
}
|
|
|
|
interface Endpoint {
|
|
/**
|
|
* @return string The interface ID
|
|
*/
|
|
public function get_name(): string;
|
|
|
|
/**
|
|
* @return string The route slug which will be used to access the endpoint by URL.
|
|
*/
|
|
public function get_route(): string;
|
|
}
|