APF_Demo_PageMetaBox__WithFormSection::setUp PHP Method

setUp() public method

* ( optional ) Use the setUp() method to define settings of this meta box.
public setUp ( )
    public function setUp()
    {
        $this->addSettingSections(array('section_id' => 'meta_box_with_a_form_section', 'title' => __('Section of a Page Meta-box', 'admin-page-framework-loader'), 'description' => __('This meta box form has a section.', 'admin-page-framework-loader')));
        /*
         * ( optional ) Adds setting fields into the meta box.
         */
        $this->addSettingFields('meta_box_with_a_form_section', array('field_id' => 'image', 'type' => 'image', 'title' => __('Images', 'admin-page-framework-loader'), 'repeatable' => true, 'sortable' => true), array());
    }
APF_Demo_PageMetaBox__WithFormSection