Home / Actions and Filters
Since each Option is an individual database entry, you can easily target them using wildcard action and filter hooks. I have listed them here with links to official documentation on their use. Replace {$option}
with the 'id' of a field you want to use.
"add_option_{$option}"
"Fires after a specific option has been added."
https://developer.wordpress.org/reference/hooks/add_option_option/"update_option_{$option}"
"Fires after the value of a specific option has been successfully updated." https://developer.wordpress.org/reference/hooks/update_option_option/"delete_option_{$option}"
"Fires after a specific option has been deleted." https://developer.wordpress.org/reference/hooks/delete_option_option/
"option_{$option}"
"Filters the value of an existing option. [...] This hook allows you to filter any option after database lookup."
https://developer.wordpress.org/reference/hooks/option_option/"pre_option_{$option}"
"Filters the value of an existing option before it is retrieved. [...] Returning a truthy value from the filter will effectively short-circuit retrieval and return the passed value instead."
https://developer.wordpress.org/reference/hooks/pre_option_option/"pre_update_option_{$option}"
"Filters a specific option before its value is (maybe) serialized and updated."
https://developer.wordpress.org/reference/hooks/pre_update_option_option/