Mail: [email protected] Phone: +1(424)231-4091

SettingsSavedEvent

This event is triggered every time after a setting is saved. This will allow you to interact with the saved data and the saved class. If you would like to mutate the data before they are saved, you might consider using the filter "SettingsPage::method( 'saveForm' )".

The event class "SettingsSavedEvent", has two properties:

  • "data" which are the saved inputs
  • "settingsClass" which is the class submitting the form.

It might be useful which settings class submits the form, to perform additional manipulation.