fruffl icon

WP 5.4 functions

fruffl | 03/09/13 10:41:45 AM UTC | 0 ⭐ | 254 👁️ | Never ⏰ | []
PHP |

570 B

|

None

|

0 👍

/

0 👎

<?PHP
    NAMESPACE tri4m\Wp;
    USE tri4m\Wp\Theme;
    USE ILLI\Core\Std\Exception;
    
    require_once $_SERVER['DOCUMENT_ROOT'].'/dev/ILLI/bootload.php';
    
    try
    {
        $theme = new Theme(
        [
            'themeUri'  => get_template_directory_uri(),
            'themePath' => dirname(__DIR__),
            'wpIncludeUri'  => includes_url(),
            'wpIncludePath' => ABSPATH . WPINC,
            'versionID' => 1,
            'version'   => '0.0.1',
            'slug'      => 'tri4m',
            'name'      => 'tri4mTiger',
            'fullName'  => 'tri4m tijger',
            'debug'     => FALSE
        ]);
    }
    catch(\Exception $E)
    {
        Theme::e('Theme Error', $E);
    }

Comments