WordPress at a glance
filter is not described

woocommerce_admin_settings_sanitize_option filter-hook . WC 2.4.0

Sanitize the value of an option.

Usage

add_filter( 'woocommerce_admin_settings_sanitize_option', 'filter_function_name_9975', 10, 3 );
function filter_function_name_9975( $value, $option, $raw_value ){
	// filter...

	return $value;
}
$value
-
$option
-
$raw_value
-

Changelog

Since 2.4.0 Introduced.

Where the hook is called

WC_Admin_Settings::save_fields()
woocommerce_admin_settings_sanitize_option
woocommerce/includes/admin/class-wc-admin-settings.php 822
$value = apply_filters( 'woocommerce_admin_settings_sanitize_option', $value, $option, $raw_value );

Where in WP core the hook is used WooCommerce

Usage not found.