Fields are blocks of arrays that represent the individual options within a specific options panel, set via a Sections array.  The Section array contains an argument titled fields, which accepts an array, or several blocks of arrays, separated by commas.  This is where all field arrays are place.  A basic example is shown below. For specific examples, please consult the sample-config.php file that comes with the Redux package.

Example

$this->sections[] = array(
    'title'   => 'New Section',
    'icon'    => 'el-icon-cogs',
    'heading' => 'Expanded New Section Title',
    'desc'    => '<br />This is the section description.  HTML is permitted.<br />'
    'fields'  => array(
        array(
            'id'    => 'opt-text',
            'type'  => 'text',
            'title' => 'A sample text box',
        ),
        array(
            'id'    => 'opt-text-2',
            'type'  => 'text',
            'title' => 'Another sample text box',
        ),
    ),
);