private static _get_file_path ( integer $base, string $subdir, string $filename ) : string | ||
$base | integer | one of self::BASE_UPLOADS, self::BASE_CONTENT to indicate if file is an upload or a content (theme or plugin) |
$subdir | string | subdirectory in which file is stored, relative to $base root folder |
$filename | string | file name, including extension (but no path) |
return | string | the file location |