woocommerce_update_options action-hookWC 7.8.0

Completes the saving process for options.

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...
}

Changelog

Since 7.8.0 Introduced.

Where the hook is called

WC_AJAX::shipping_zones_save_changes()
woocommerce_update_options
WC_Admin_Settings::save()
woocommerce_update_options
WC_AJAX::shipping_zone_add_method()
woocommerce_update_options
WC_AJAX::shipping_zone_remove_method()
woocommerce_update_options
WC_AJAX::shipping_zone_methods_save_changes()
woocommerce_update_options
WC_AJAX::shipping_zone_methods_save_settings()
woocommerce_update_options
WC_AJAX::shipping_classes_save_changes()
woocommerce_update_options
WC_AJAX::toggle_gateway_enabled()
woocommerce_update_options
woocommerce/includes/class-wc-ajax.php 3075
do_action( 'woocommerce_update_options' );
woocommerce/includes/admin/class-wc-admin-settings.php 82
do_action( 'woocommerce_update_options' );
woocommerce/includes/class-wc-ajax.php 3141
do_action( 'woocommerce_update_options' );
woocommerce/includes/class-wc-ajax.php 3200
do_action( 'woocommerce_update_options' );
woocommerce/includes/class-wc-ajax.php 3368
do_action( 'woocommerce_update_options' );
woocommerce/includes/class-wc-ajax.php 3416
do_action( 'woocommerce_update_options' );
woocommerce/includes/class-wc-ajax.php 3549
do_action( 'woocommerce_update_options' );
woocommerce/includes/class-wc-ajax.php 3602
do_action( 'woocommerce_update_options' );

Where the hook is used in WooCommerce

woocommerce/includes/tracks/events/class-wc-settings-tracking.php 78
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 );