<?php

namespace PowerElements\Hook;

class Init{
    function __construct(){

        //Admin hook
        if( is_admin() ){
            new \PowerElements\Admin\Init; 
        }

        //Cptui
        new \PowerElements\Cptui\Init;

        //Custom controls
        new \PowerElements\Controls\Init;

        //Widgets Map
        new \PowerElements\Admin\WidgetsMap\Init;

        //Override hooks
        new \PowerElements\Frontend\Init;

        //Override controls
        new \PowerElements\Override\Css;
        new \PowerElements\Override\Effects;
        new \PowerElements\Override\Settings;

    }
}