Function Reference: geodir_path_import_export
Summary
Get the path of cache directory.
Package
GeoDirectory
Parameters
- $relative
- (bool) (required) True for relative path & False for absolute path.
- Default: None
Return Values
- (string)
- Path to the cache directory.
Change Log
Since: 1.4.6
Source File
geodir_path_import_export() is located in geodirectory-admin/admin_functions.php [Line: 5699]
Source Code
function geodir_path_import_export( $relative = true ) { $upload_dir = wp_upload_dir(); return $relative ? $upload_dir['baseurl'] . '/cache' : $upload_dir['basedir'] . '/cache'; }