You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
This repository was archived by the owner on Nov 4, 2022. It is now read-only.
Copy file name to clipboardExpand all lines: _docs/fields/switch.md
+2-2
Original file line number
Diff line number
Diff line change
@@ -4,7 +4,7 @@ title: Switch
4
4
5
5
## Overview
6
6
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.
8
8
9
9
## Screenshot
10
10
@@ -67,6 +67,6 @@ Or if you only want to display "On/Off":
67
67
rwmb_the_value( $field_id ); // echo 'On' or 'Off'
68
68
```
69
69
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.
71
71
72
72
Read more about [rwmb_meta()](/rwmb-meta/) and [rwmb_the_value()](/rwmb-the-value/).
0 commit comments