getCacheDir retrieves the value of the option that stores the currently set cache directory path.

getCacheDir()

Value

If the option is set, the path to the currently set cache directory; otherwise, NULL.