WC_Settings_Tracking::add_option_to_list()

Method: Add a WooCommerce option name to our allowed options list and attach the `update_option` hook. Rather than inspecting every updated option and pattern matching for “woocommerce”, just build a dynamic list for WooCommerce options that might get updated.

Source: includes/tracks/events/class-wc-settings-tracking.php:48

Used by 0 functions | Uses 0 functions

WC_Settings_Tracking::add_option_to_whitelist()

Method: Add a WooCommerce option name to our whitelist and attach the `update_option` hook. Rather than inspecting every updated option and pattern matching for “woocommerce”, just build a dynamic whitelist for WooCommerce options that might get updated.

Source: includes/tracks/events/class-wc-settings-tracking.php:47

Used by 0 functions | Uses 0 functions