14 lines
250 B
PHP
14 lines
250 B
PHP
<?php
|
|
|
|
# Imports all Composer packages
|
|
require __DIR__ . '/vendor/autoload.php';
|
|
|
|
use ofc\Site;
|
|
|
|
# Allow the Site object to be accessed in other files
|
|
function site(): Site
|
|
{
|
|
return Site::getInstance();
|
|
}
|
|
add_action("after_setup_theme", "site");
|