public function getPathToScss( $type, $theme = null ) {

		if ( null === $theme ) {
			$theme = wp_get_theme();
		}

		if ( $this->isCurrentThemeCompatible( 1, $theme ) ) {
			if ( 'web' === $type ) {
				$path_to_style = realpath( $this->getDir( $theme ) . '/style.scss' );
			} else {
				$path_to_style = realpath( $this->getDir( $theme ) . "/export/$type/style.scss" );
			}
		} elseif ( $this->isCurrentThemeCompatible( 2, $theme ) ) {
			$path_to_style = realpath( $this->getDir( $theme ) . "/assets/styles/$type/style.scss" );
		} else {
			$path_to_style = false;
		}

		return $path_to_style;
	}
public function getPathToScss( $type, $theme = null ) {

		if ( null === $theme ) {
			$theme = wp_get_theme();
		}

		if ( $this->isCurrentThemeCompatible( 1, $theme ) ) {
			if ( 'web' === $type ) {
				$path_to_style = realpath( $this->getDir( $theme ) . '/style.scss' );
			} else {
				$path_to_style = realpath( $this->getDir( $theme ) . "/export/$type/style.scss" );
			}
		} elseif ( $this->isCurrentThemeCompatible( 2, $theme ) ) {
			$path_to_style = realpath( $this->getDir( $theme ) . "/assets/styles/$type/style.scss" );
		} else {
			$path_to_style = false;
		}

		return $path_to_style;
	}
public function getPathToScss ( $ type , $ theme = null ) { if ( null === $ theme ) { $ theme = wp_get_theme ( ) ; } if ( $ this -> isCurrentThemeCompatible ( 1 , $ theme ) ) { if ( 'web' === $ type ) { $ path_to_style = realpath ( $ this -> getDir ( $ theme ) . '/style.scss' ) ; } else { $ path_to_style = realpath ( $ this -> getDir ( $ theme ) . "/export/$type/style.scss" ) ; } } elseif ( $ this -> isCurrentThemeCompatible ( 2 , $ theme ) ) { $ path_to_style = realpath ( $ this -> getDir ( $ theme ) . "/assets/styles/$type/style.scss" ) ; } else { $ path_to_style = false ; } return $ path_to_style ; }
Fullpath to SCSS file

@param string $type
@param \WP_Theme $theme (optional)

@return string|false
Fullpath to SCSS file