1) Configuration Storage (wp_options)

All builder-level configurations are stored in the wp_options table. When creating a new custom post type, custom taxonomy, custom user meta, or custom options page, the configuration is stored in the wp_options table.

1.1 Post Type Builder

When you create a new custom post type, the configuration is stored in the wp_options table with the key native_custom_fields_post_types_config. The value is serialized array that contains the configuration of the custom post type.

  • Option key: native_custom_fields_post_types_config
  • Contains: Custom Post Type definitions and registration args.
  • Related service/controller:

includes/Services/PostMetaService.phpincludes/Presentation/Admin/Controllers/PostMetaController.php

1.2 Post Meta Builder

When you create a new custom post type, the configuration is stored in the wp_options table with the key native_custom_fields_post_meta_fields_config. The value is serialized array that contains the configuration of the custom post type.

  • Option key: native_custom_fields_post_meta_fields_config
  • Contains: Field group/section/meta box definitions attached to post types.
  • Related service/controller:

includes/Services/PostMetaService.phpincludes/Presentation/Admin/Controllers/PostMetaController.php

1.3 Taxonomy Builder

When you create a new custom taxonomy, the configuration is stored in the wp_options table with the key native_custom_fields_taxonomies_config. The value is serialized array that contains the configuration of the custom taxonomy.

  • Option key: native_custom_fields_taxonomies_config
  • Contains: Custom taxonomy definitions and registration args.
  • Related service/controller:

includes/Services/TermMetaService.phpincludes/Presentation/Admin/Controllers/TermMetaController.php

1.4 Term Meta Builder

When you create a new custom taxonomy, the configuration is stored in the wp_options table with the key native_custom_fields_term_meta_fields_config. The value is serialized array that contains the configuration of the custom taxonomy.

  • Option key: native_custom_fields_term_meta_fields_config
  • Contains: Section and field definitions attached to taxonomies.
  • Related service/controller:

includes/Services/TermMetaService.phpincludes/Presentation/Admin/Controllers/TermMetaController.php

1.5 User Meta Builder

When you create a new custom taxonomy, the configuration is stored in the wp_options table with the key native_custom_fields_user_meta_fields_config. The value is serialized array that contains the configuration of the custom taxonomy.

  • Option key: native_custom_fields_user_meta_fields_config
  • Contains: Section and field definitions for user profile pages.
  • Related service/controller:

includes/Services/UserMetaService.phpincludes/Presentation/Admin/Controllers/UserMetaController.php

1.6 Options Pages Builder

When you create a new options page, the configuration is stored in the wp_options table with the key native_custom_fields_options_pages_config. The value is serialized array that contains the configuration of the custom options page.

  • Option keys:

native_custom_fields_options_pages_config (page definitions) – native_custom_fields_options_pages_fields_config (field/section definitions per options page)

  • Contains: Options page menu config and field schema.
  • Related service/controller:

includes/Services/OptionService.phpincludes/Presentation/Admin/Controllers/OptionsController.php