← All built-ins / ui_pick_folder()
ui_pick_folder()
ui_pick_folder(...$args): mixed
Parameters
| Name | Type | Description |
|---|---|---|
| $title | string | dialog title |
Return value
Chosen folder path, or false when cancelled.
Example
echo "$d = ui_pick_folder("Choose workspace");";$d = ui_pick_folder("Choose workspace");This call needs a real environment (window, server, database or stdin) — the snippet above shows the typical usage shape.