protected function setWpFolderName()
    {
        $dirs = explode('/', $this->wpDirectoryPath);

        $this->wpFolderName = $dirs[count($dirs) - 2];
    }
protected function setWpFolderName()
    {
        $dirs = explode('/', $this->wpDirectoryPath);

        $this->wpFolderName = $dirs[count($dirs) - 2];
    }
protected function setWpFolderName ( ) { $ dirs = explode ( '/' , $ this -> wpDirectoryPath ) ; $ this -> wpFolderName = $ dirs [ count ( $ dirs ) - 2 ] ; }
Set wordpress folder name.

@param string
Set wordpress folder name .