How to loop add_filter with foreach?

Trying to create a foreach loop to loop through pre_site_options

(See code Below - Main question box doesn't have a code button)