support.cubewp.com support.cubewp.com
  • Helpdesk
  • Support Forum
Get CubeWP
support.cubewp.com support.cubewp.com
Get CubeWP
support.cubewp.com
  • Helpdesk
  • Support Forum

Docy

Custom Fields Types

  • Folder icon closed Folder open iconText
  • Folder icon closed Folder open iconNumber
  • Folder icon closed Folder open iconEmail
  • Folder icon closed Folder open iconURL
  • Folder icon closed Folder open iconPassword
  • Folder icon closed Folder open iconText Area
  • Folder icon closed Folder open iconWysiwyg Editor
  • Folder icon closed Folder open iconoEmbed
  • Folder icon closed Folder open iconFile
  • Folder icon closed Folder open iconImage
  • Folder icon closed Folder open iconGallery
  • Folder icon closed Folder open iconSwitch
  • Folder icon closed Folder open iconColor
  • Folder icon closed Folder open iconRange
  • Folder icon closed Folder open iconDropdown
  • Folder icon closed Folder open iconCheckbox
  • Folder icon closed Folder open iconRadio Button
  • Folder icon closed Folder open iconGoogle Address
  • Folder icon closed Folder open iconDate Picker
  • Folder icon closed Folder open iconDate Time Picker
  • Folder icon closed Folder open iconTime Picker
  • Folder icon closed Folder open iconPost
  • Folder icon closed Folder open iconTaxonomy
  • Folder icon closed Folder open iconUser
  • Folder icon closed Folder open iconRepeating Fields
  • Folder icon closed Folder open iconReview Stars (Pro)
  • Folder icon closed Folder open iconTimings (Pro)

Switch

Estimated reading: 1 minute 852 views

A switch field enables users to easily toggle an option on or off.

Field Settings

Field Label: Switch

Field Name: You can edit the field name by unlocking the field

Description: You have the option to provide a field description to inform users about its purpose

ID: You have the option to replace the ID with the default one

Class: In case you’d like to take control of the design

Container Class: In case you’d like to take control of the design

Metabox Field Size: 1/1 The field will take the full width within the admin panel’s Meta Box

Show In REST API: If Yes then field data will be accessible via the WordPress REST API

Preview

switch
Share this Doc

Switch

Or copy link

Clipboard Icon
CONTENTS
Leaf Illustration

© 2023 All Rights Reserved by CubeWP