WP Manifestindependent plugin directory
manifest / developer / air-setting-groups

Air setting groups

Provides a way to store custom settings in CPT and receive those with field id and setting group key.

by Digitoimisto Dude Oy · github.com/digitoimistodude/air-setting-groups · website

1stars
1forks

Install

No release zip yet. The repository archive installs, but the folder name will carry the branch suffix and updates will not flow:

wp plugin install https://github.com/digitoimistodude/air-setting-groups/archive/refs/heads/master.zip

Readme

Air setting groups

Registering your custom setting groups

To begin using your custom setting groups, you need to create a custom setting group post. You can do this in the admin panel CPT that the plugin creates automatically.

After the setting group is created, it needs to be registered in functions.php.

Like this.

'custom_settings' => [
    'your-custom-setting' => [
      'id' => '{YOUR POST ID}',
      'title' => 'Your custom setting',
      'block_editor' => true,
    ],
  ],

If you set block_editor to true, your custom setting group will support the gutenberg block editor. If you dont want it enabled you can remove block_editor from the array or just change its value to something that doesnt evaluate to true.

Now that you have registered your custom setting group, you can find it in ACF field group location rules with the title that you gave to it.

Functions and hooks

get_plugin_version() Returns the version of the plugin.

get_prefix() Returns the prefix of the CPT. If given argument true, returns prefix with hyphens instead of underscores.

get_custom_setting_config() Returns all of the registered custom setting groups in functions.php

get_custom_setting( 'key of your ACF field', 'key of your custom setting group' ) Gets you the value of a specific field of a specific setting group.

add_filters( 'air_setting_groups_prefix', $prefix) Filter will let you change the prefix for the plugin. This is used as the slug of setting group custom post type.

Read the full README on GitHub →

Releases

TagPublished
1.0.3 Jun 12, 2026
1.0.2 Dec 1, 2023

These releases are tags only. The author does not attach a packaged zip, so there are no download counts to report.