Using WordPress ‘pre_update_site_option_{$option}’ PHP filter
The 'pre_update_site_option_{$option}' PHP filter in WordPress allows developers to modify site options before they are updated. This can be useful for validating input or adding custom functionality.