In each field array, you can set the attributes arguments which defines HTML attributes of the field so that you can modify the output of the field by passing attribute values..
To specify custom size to the element of the image field type, set array like the below, where 300px is the max width. array, 'type => 'image, 'attributes => array, ), ), Display items of 'radio field type one per line.
When you go with the method, make sure to pass empty string, to the parameter of the constructor so that it disables the ability to store submitted form data into the options table. new MyAdminPage.
In setUp of MyAdminPageClasB, pass the instantiated class name of the main plugin that created the menu, MyAdminPageClassA, to setRootMenuPageBySlug method. $this-> setRootMenuPageBySlug.
The Generator will include the field type files in the zip archive and their paths in the list for the auto-loader loaded by the framework bootstrap file..
Fixed issue that class creating menu page must be instantiated prior to class adding sub-menu page with setRootMenuPageBySlug method by passing the class name of the menu page.. 3.8.2 2016 08 25.
Changed the form sections and fields mechanism of the admin page class to accept items without the page slug and tab slug by letting them being added to the current page or tab.
Added APFL SILENT MODE to the loader plugin that toggle the visuals of the loader admin pages..
Fixed bug that Select All and Select None buttons were doubled when checkbox and posttype field types were in the same form and not displayed with the taxonomy field type when there are no checkbox or posttype fields in the same page..
Added the ability for the admin page factory class to save form options only for time of period by passing integer for the option key to the constructor..
Read more