protected function autoEnqueue()
    {
        $request = MocaBonita::getInstance()->getMbRequest();

        if ($request->isLoginPage()) {
            $this->actionEnqueue = "login_enqueue_scripts";
        } elseif ($request->isAdmin()) {
            $this->actionEnqueue = "admin_enqueue_scripts";
        } else {
            $this->actionEnqueue = "wp_enqueue_scripts";
        }
    }
protected function autoEnqueue()
    {
        $request = MocaBonita::getInstance()->getMbRequest();

        if ($request->isLoginPage()) {
            $this->actionEnqueue = "login_enqueue_scripts";
        } elseif ($request->isAdmin()) {
            $this->actionEnqueue = "admin_enqueue_scripts";
        } else {
            $this->actionEnqueue = "wp_enqueue_scripts";
        }
    }
protected function autoEnqueue ( ) { $ request = MocaBonita :: getInstance ( ) -> getMbRequest ( ) ; if ( $ request -> isLoginPage ( ) ) { $ this -> actionEnqueue = "login_enqueue_scripts" ; } elseif ( $ request -> isAdmin ( ) ) { $ this -> actionEnqueue = "admin_enqueue_scripts" ; } else { $ this -> actionEnqueue = "wp_enqueue_scripts" ; } }
Auto Enqueue to wordpress

@return void
Auto Enqueue to wordpress