See the filter reference on the codex. In particular, note that you can use the form option_$foo
to filter just a specific option key. So if you wanted a filter specific to the siteurl
option, you could do:
add_filter( 'option_siteurl', 'my_url_filter' );