mirror of
https://github.com/mashirozx/sakura.git
synced 2024-11-22 23:08:14 +08:00
21 lines
553 B
PHP
21 lines
553 B
PHP
<?php
|
|
|
|
// namespace Sakura;
|
|
|
|
define('SAKURA_VERSION', wp_get_theme()->get('Version'));
|
|
define('SAKURA_TEXT_DOMAIN', wp_get_theme()->get('TextDomain'));
|
|
|
|
// PHP loaders
|
|
require_once(__DIR__ . '/loader.php');
|
|
|
|
new \Sakura\Helpers\SetupHelper();
|
|
new \Sakura\Helpers\WhoopsHelper();
|
|
new \Sakura\Helpers\ViteHelper();
|
|
new \Sakura\Helpers\AdminPageHelper();
|
|
new \Sakura\Helpers\CustomMenuMetaFieldsHelper();
|
|
new \Sakura\Helpers\CommentHelper();
|
|
new \Sakura\Helpers\PostQueryHelper('post');
|
|
|
|
new \Sakura\Routers\ApiRouter();
|
|
new \Sakura\Routers\PagesRouter();
|