APF_MetaBox_RepeatableCollapsibleSections::setUp PHP Method

setUp() public method

Do set-ups.
public setUp ( )
    public function setUp()
    {
        /*
         * Create tabbed sections.
         */
        $this->addSettingSections(array('section_id' => '_repeatable_collapsible_section', 'title' => __('Repeatable Collapsible Section', 'admin-page-framework-loader'), 'collapsible' => array('toggle_all_button' => array('top-right', 'bottom-right'), 'container' => 'section'), 'repeatable' => true, 'sortable' => true));
        /*
         * Add form fields into the meta box.
         */
        $this->addSettingFields('_repeatable_collapsible_section', array('field_id' => 'section_title_field_of_repeatable_collapsible_sections', 'label' => __('Section Name', 'admin-page-framework-loader'), 'type' => 'section_title'), array('field_id' => 'color_field_of_repeatable_collapsible_sections', 'title' => __('Repeatable & Sortable', 'admin-page-framework-loader'), 'type' => 'color', 'repeatable' => true, 'sortable' => true));
    }
APF_MetaBox_RepeatableCollapsibleSections