This commit is contained in:
proelements
2025-11-13 15:18:34 +02:00
commit 9ac2bf2aa0
1178 changed files with 296944 additions and 0 deletions

View File

@@ -0,0 +1,28 @@
<?php
namespace ElementorPro\Core\Data\Endpoints;
use ElementorPro\Core\Data\Controller;
if ( ! defined( 'ABSPATH' ) ) {
exit; // Exit if accessed directly.
}
class Base {
protected $controller;
protected function register() {}
/**
* Endpoint constructor.
*
* runs `$this->register()`.
*
* @param Controller $controller
*/
public function __construct( Controller $controller ) {
$this->controller = $controller;
$this->register();
}
}