cd_settings_filter

This filter can be used to modify the Car Demon settings array when clicking “Update Settings” on the settings page. You can use this to add new items, remove items or update items that are part of the settings array.

The above example would add an array key of “my_setting” to the Car Demon settings array and save the value $_POST[‘my_field’] – This is assume you’ve added a custom field to the setting page named “my_field”. This can be done by utilizing the action “cd_settings_action”.