woocommerce_update_options action-hookWC 1.0

Trigger actions.

Usage

add_action( 'woocommerce_update_options', 'wp_kama_woocommerce_update_options_action' );

/**
 * Function for `woocommerce_update_options` action-hook.
 * 
 * @return void
 */
function wp_kama_woocommerce_update_options_action(){

	// action...
}

Where the hook is called

WC_Admin_Settings::save()
woocommerce_update_options
WC_AJAX::toggle_gateway_enabled()
woocommerce_update_options
woocommerce/includes/admin/class-wc-admin-settings.php 80
do_action( 'woocommerce_update_options' );
woocommerce/includes/class-wc-ajax.php 3115
do_action( 'woocommerce_update_options' );

Where the hook is used in WooCommerce

woocommerce/includes/tracks/events/class-wc-settings-tracking.php 35
add_action( 'woocommerce_update_options', array( $this, 'send_settings_change_event' ) );
woocommerce/src/Internal/Admin/CustomerEffortScoreTracks.php 112
add_action( 'woocommerce_update_options', array( $this, 'run_on_update_options' ), 10, 3 );