multisite shared settings
Update from comments To convert an array of options to site options, you can try something like this: add_action( ‘init’, ‘wpse245699_use_site_options’ ); function wpse245699_use_site_options() { // Uses site options for these options. $required_site_options = array( ‘some_option_name’, ‘another_option_name’, ‘and_another_one’, ); foreach( $required_site_options as $option ) { add_action( ‘update_option_’ . $option, ‘wpse245699_update_site_option’, 10, 3 ); add_filter( ‘pre_option_’ … Read more