Basics Of The Settings API

Introduction

The Add-On Framework includes a Settings API that can be used to create form and plugin settings pages. The API provides the mechanisms for rendering field UIs and saving values automatically. It supports standard field types like radio buttons, text boxes and checkboxes and also custom field types.

Note: In order to use the Settings API, your class must extend one of the GFAddon Classes.

Field Type Examples

See this list of standard Field Types for detail and implementation examples of the various field types offered through this API.