Skip to content
This repository was archived by the owner on Nov 4, 2022. It is now read-only.

Commit d7715a7

Browse files
imcuong98rilwis
authored andcommitted
Edit texts
Wrong grammar
1 parent 59c9c1c commit d7715a7

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

_docs/fields/switch.md

+2-2
Original file line numberDiff line numberDiff line change
@@ -4,7 +4,7 @@ title: Switch
44

55
## Overview
66

7-
The switch field shows a on/off switch for you to enable/disable something. It supports 2 styles (rounded or square) and custom text/icon labels.
7+
The switch field shows a on/off switch for you to enable/disable something. It allows editor to select styles (rounded or square) and custom text/icon labels.
88

99
## Screenshot
1010

@@ -67,6 +67,6 @@ Or if you only want to display "On/Off":
6767
rwmb_the_value( $field_id ); // echo 'On' or 'Off'
6868
```
6969

70-
When using `rwmb_the_value`, it displays the `on_label` or `off_label` depends on the field value. In case those labels are omited, it uses "On/Off" as the default text.
70+
When using `rwmb_the_value`, displaying the `on_label` or `off_label` depends on the field value. In case those labels are omited, it uses "On/Off" as the default text.
7171

7272
Read more about [rwmb_meta()](/rwmb-meta/) and [rwmb_the_value()](/rwmb-the-value/).

0 commit comments

Comments
 (0)