first commit
This commit is contained in:
@@ -0,0 +1,24 @@
|
||||
<?php
|
||||
|
||||
namespace HelloTheme\Modules\AdminHome\Components;
|
||||
|
||||
if ( ! defined( 'ABSPATH' ) ) {
|
||||
exit; // Exit if accessed directly.
|
||||
}
|
||||
|
||||
use HelloTheme\Modules\AdminHome\Rest\Admin_Config;
|
||||
use HelloTheme\Modules\AdminHome\Rest\Promotions;
|
||||
use HelloTheme\Modules\AdminHome\Rest\Theme_Settings;
|
||||
use HelloTheme\Modules\AdminHome\Rest\Whats_New;
|
||||
|
||||
class Api_Controller {
|
||||
|
||||
protected $endpoints = [];
|
||||
|
||||
public function __construct() {
|
||||
$this->endpoints['promotions'] = new Promotions();
|
||||
$this->endpoints['admin-config'] = new Admin_Config();
|
||||
$this->endpoints['theme-settings'] = new Theme_Settings();
|
||||
$this->endpoints['whats-new'] = new Whats_New();
|
||||
}
|
||||
}
|
||||
Reference in New Issue
Block a user