path (directory folder) (tag)
| get_attached_file() | Gets the absolute (server) path of the attachment (attached file) by the provided attachment ID. |
| get_home_path() | Gets the absolute path to the root folder of the site (where wp-config.php is located). The result may differ from the constant ABSPATH. It has a trailing slash at the end. |
| get_parent_theme_file_path() | Gets the system path to the parent theme (not the child theme). Does not contain a slash at the end. |
| get_temp_dir() | Gets the path to the folder where temporary files can be written. With a slash at the end. |
| get_template() | Gets the directory name of the parent theme (or the current one if a child theme is not used). |
| get_theme_root() | Gets the system path of the directory where all themes are located. The slash at the end is absent. |
| path_join() | Join two filesystem paths together. If the second parameter is an absolute path (starts with a slash), then only it will be returned. |
| plugin_dir_path() | Gets the full path to the folder where the specified file - __FILE__ is located. With a slash at the end. |
| search_theme_directories() | Finds all registered theme directories from the themes directory. |
| wp_basename() | Gets the last component from the specified path or URL, retrieving everything after the last |
| wp_get_upload_dir() | Retrieves data about the uploads folder (upload) as an array of parameters. |
| wp_normalize_path() | Normalizes the path for a file or folder by replacing backslashes and double slashes with a single one. |
| wp_tempnam() | Creates an empty temporary writable file with a unique name in the temporary directory. After use, the file must be deleted using unlink(); |
| wp_upload_dir() | Gets upload directory data: path, URL. |