Add additional settings storage handling, or modify existing settings before storing them to the database.
- $data : The data to be saved to the settings object (array)
- Must return $data with your changes/additions in place
Why Redux? The preferred method of storage is by adding directly to the DOM with the relevant field names in place. Our core should handle this as expected.
With that said, some developers require more specific storage handling, this hook replaces a legacy hook which allowed for custom storage logic to be adhered to.