WordPress at Your Fingertips
filter is not described

woocommerce_widget_settings_sanitize_option filter-hook . WC 1.0

Sanitize the value of a setting.

Usage

add_filter( 'woocommerce_widget_settings_sanitize_option', 'filter_function_name_9648', 10, 4 );
function filter_function_name_9648( $instance[ $key ], $new_instance, $key, $setting ){
	// filter...

	return $instance[ $key ];
}
$instance[ $key ]
-
$new_instance
-
$key
-
$setting
-

Where the hook is called

WC_Widget::update()
woocommerce_widget_settings_sanitize_option
woocommerce/includes/abstracts/abstract-wc-widget.php 230
$instance[ $key ] = apply_filters( 'woocommerce_widget_settings_sanitize_option', $instance[ $key ], $new_instance, $key, $setting );

Where in WP core the hook is used WooCommerce

Usage not found.