src/Transient_API.php
protected function delete_version_issue( $key, $type = '' ) {
		if ( true === $this->option_auto_delete && 'option' === $type ) {
			$this->delete_option( $key );
		}

		if ( true === $this->transient_auto_delete ) {
			return $this->delete_transient( $key );
		}
		return false;
	}
protected function delete_version_issue( $key, $type = '' ) {
		if ( true === $this->option_auto_delete && 'option' === $type ) {
			$this->delete_option( $key );
		}

		if ( true === $this->transient_auto_delete ) {
			return $this->delete_transient( $key );
		}
		return false;
	}
protected function delete_version_issue ( $ key , $ type = '' ) { if ( true === $ this -> option_auto_delete && 'option' === $ type ) { $ this -> delete_option ( $ key ) ; } if ( true === $ this -> transient_auto_delete ) { return $ this -> delete_transient ( $ key ) ; } return false ; }
Deletes if cache has any issues.

@param        $key
@param string $type

@return mixed
Deletes if cache has any issues .