Skip to content

Commit 12c4e1b

Browse files
committed
address recent file & image fields data storage type changes
1 parent 042337e commit 12c4e1b

File tree

2 files changed

+4
-4
lines changed

2 files changed

+4
-4
lines changed

documentation/2-fields/13-file.md

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,8 +1,8 @@
11
# File
22

3-
Renders a text input with URL and file upload button. The built-in WordPress file handling interface is used.
3+
Renders a file upload field with a preview thumbnail of the uploaded file. The built-in WordPress file handling interface is used.
44

5-
This field type stores the **URL** of the selected file.
5+
This field type stores the **ID** of the selected file.
66

77
### Setup methods
88

documentation/2-fields/14-image.md

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,10 +1,10 @@
11
# Image
22

3-
Renders a text input with URL and image upload button. The built-in WordPress file handling interface is used.
3+
Renders an image upload button with a preview thumbnail of the uploaded image. The built-in WordPress file handling interface is used.
44

55
Supported image formats are: `jpg`, `jpeg`, `gif`, `png` and `bmp`.
66

7-
This field type stores the URL of the image.
7+
This field type stores the **ID** of the selected image.
88

99
### Setup methods
1010

0 commit comments

Comments
 (0)