includes/staticwp.class.php
protected function resolveDestination()
    {
        $dir = '';
        $uploads = wp_upload_dir();

        if (isset($uploads['basedir'])) {
            $dir = $uploads['basedir'] . '/' . $this->plugin . '/_site';
        } else {
            $dir = WP_CONTENT_DIR . '/uploads/' . $this->plugin . '/_site';
        }

        return apply_filters('staticwp_cache_destination', $dir);
    }
protected function resolveDestination()
    {
        $dir = '';
        $uploads = wp_upload_dir();

        if (isset($uploads['basedir'])) {
            $dir = $uploads['basedir'] . '/' . $this->plugin . '/_site';
        } else {
            $dir = WP_CONTENT_DIR . '/uploads/' . $this->plugin . '/_site';
        }

        return apply_filters('staticwp_cache_destination', $dir);
    }
protected function resolveDestination ( ) { $ dir = '' ; $ uploads = wp_upload_dir ( ) ; if ( isset ( $ uploads [ 'basedir' ] ) ) { $ dir = $ uploads [ 'basedir' ] . '/' . $ this -> plugin . '/_site' ; } else { $ dir = WP_CONTENT_DIR . '/uploads/' . $ this -> plugin . '/_site' ; } return apply_filters ( 'staticwp_cache_destination' , $ dir ) ; }
Recursively deletes a directory and its contents.

@since 1.2.0

@return string
Recursively deletes a directory and its contents .