HM\BackUpWordPress\Path::get_calculated_root PHP Method

get_calculated_root() private method

get the calculated path to the directory that will be backed up
private get_calculated_root ( )
    private function get_calculated_root()
    {
        $root = self::get_home_path();
        if (defined('HMBKP_ROOT') && HMBKP_ROOT) {
            $root = HMBKP_ROOT;
        }
        if ($this->root) {
            $root = $this->root;
        }
        return wp_normalize_path($root);
    }