public function applyOverrides( $scss, $overrides = [] ) {

		if ( ! is_array( $overrides ) ) {
			$overrides = (array) $overrides;
		}
		$overrides = implode( "\n", $overrides );

		if ( $this->isCurrentThemeCompatible( 2 ) ) {
			// Prepend override variables (see: http://sass-lang.com/documentation/file.SASS_REFERENCE.html#variable_defaults_).
			$scss = $overrides . "\n" . $scss;
		} else {
			// Append overrides.
			$scss .= "\n" . $overrides;
		}

		return $scss;
	}
public function applyOverrides( $scss, $overrides = [] ) {

		if ( ! is_array( $overrides ) ) {
			$overrides = (array) $overrides;
		}
		$overrides = implode( "\n", $overrides );

		if ( $this->isCurrentThemeCompatible( 2 ) ) {
			// Prepend override variables (see: http://sass-lang.com/documentation/file.SASS_REFERENCE.html#variable_defaults_).
			$scss = $overrides . "\n" . $scss;
		} else {
			// Append overrides.
			$scss .= "\n" . $overrides;
		}

		return $scss;
	}
public function applyOverrides ( $ scss , $ overrides = [ ] ) { if ( ! is_array ( $ overrides ) ) { $ overrides = ( array ) $ overrides ; } $ overrides = implode ( "\n" , $ overrides ) ; if ( $ this -> isCurrentThemeCompatible ( 2 ) ) { // Prepend override variables (see: http://sass-lang.com/documentation/file.SASS_REFERENCE.html#variable_defaults_). $ scss = $ overrides . "\n" . $ scss ; } else { // Append overrides. $ scss .= "\n" . $ overrides ; } return $ scss ; }
Prepend or append SCSS overrides depending on which version of the theme architecture is in use.

@param string $scss
@param array|string $overrides

@return string
Prepend or append SCSS overrides depending on which version of the theme architecture is in use .