# Divide
The Divide field acts as a divider between other fields.
Table of Contents
# Arguments
Name | Type | Default | Description |
---|---|---|---|
type | string | divide | Value identifying the field type. |
Tip
When using the Divide field with required
, the divider cannot be hidden by default. It's best only to use the required
argument with this field when the fold is shown by default.
# Build Config
Build a Custom Configuration →
Changes you make to this form will be reflected in the generated code.
Redux::set_field( 'OPT_NAME', 'SECTION_ID', array(
'type' => 'divide'
) );
# Example Config
Redux::set_field( 'OPT_NAME', 'SECTION_ID', array(
'id' =>'divider_1',
'desc' => esc_html__('This is the description field.', 'your-textdomain-here'),
'type' => 'divide'
) );
← Dimensions Editor →