I know about:
add_option_{option_name}
update_option_{option_name}
but these need specific option names. What I am looking for is a way to know if and when any option is changed (added or updated).
What I am really trying to avoid is running a query to find all option names, then running a loop through them to add both add_option_{option_name}
and update_option_{option_name}
for those options dynamically.
(If indeed this is the only way to do it, is this an alright way to do it?)
Any suggestions?