woocommerce_widget_settings_sanitize_option

woocommerce_widget_settings_sanitize_option

Appears in: , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , ,
Hook Type: filter

See hook in core

Displaying hooks found in version: woocommerce.9.5.1

apply_filters('woocommerce_widget_settings_sanitize_option') is found 1 times:

  • /includes/abstracts/abstract-wc-widget.php line 230
     
    			/**
    			 * Sanitize the value of a setting.
    			 */
    			$instance[ $key ] = apply_filters( 'woocommerce_widget_settings_sanitize_option', $instance[ $key ], $new_instance, $key, $setting );
    		}
    
    		$this->flush_widget_cache();
    
    		return $instance;
    	}