1. Home
  2. Docs
  3. Introduction
  4. Generate Plugin
  5. JSON Use


  "google_settings": {
    "title": "Google Settings",
    "option_group": "aif_google_settings_options_group",
    "option_name": "aif_google_settings_settings",
    "fields": {
      "aif_api_key": {
        "label": "API Key",
        "type": "text"
      "aif_secret_key": {
        "label": "Secret Key",
        "type": "text"
      "aif_is_active": {
        "label": "Is Active",
        "type": "checkbox",
        "checked": true
      "aif_which_version_use": {
        "label": "Which version use",
        "type": "select",
        "options": {
          "aif_v1": "V1",
          "aif_v2": "V2"
      "aif_default_color": {
        "label": "Default Color",
        "type": "color"
      "aif_google_logo": {
        "label": "Google Logo",
        "type": "image"
  "facebook_settings": {
    "title": "Facebook Settings",
    "option_group": "aif_facebook_settings_options_group",
    "option_name": "aif_facebook_settings_settings",
    "fields": []
  "api_keys": {
    "title": "API Keys",
    "option_group": "aif_api_keys_options_group",
    "option_name": "aif_api_keys_settings",
    "fields": []

When you click 'Generate JSON and Create Plugin,' the system generates a JSON configuration that appears in a popup window. This JSON represents your plugin's settings structure and is also included in the downloaded ZIP file, which contains the complete plugin ready for installation in WordPress. If you wish to make changes to the JSON structure directly, you can modify the `settings.json` file found within the plugin's ZIP file. This allows for advanced customization of sections and fields even after the initial generation.

How can we help?