woocommerce_update_options_(id)_(section_id)
Usage
add_action( 'woocommerce_update_options_(id)_(section_id)', 'wp_kama_woocommerce_update_options_id_section_action' ); /** * Function for `woocommerce_update_options_(id)_(section_id)` action-hook. * * @return void */ function wp_kama_woocommerce_update_options_id_section_action(){ // action... }
Where the hook is called
woocommerce_update_options_(id)_(section_id)
woocommerce/includes/admin/settings/class-wc-settings-page.php 249
do_action( 'woocommerce_update_options_' . $this->id . '_' . $section_id );
Where the hook is used in WooCommerce
woocommerce/includes/gateways/bacs/class-wc-gateway-bacs.php 67
add_action( 'woocommerce_update_options_payment_gateways_' . $this->id, array( $this, 'process_admin_options' ) );
woocommerce/includes/gateways/bacs/class-wc-gateway-bacs.php 68
add_action( 'woocommerce_update_options_payment_gateways_' . $this->id, array( $this, 'save_account_details' ) );
woocommerce/includes/gateways/cheque/class-wc-gateway-cheque.php 44
add_action( 'woocommerce_update_options_payment_gateways_' . $this->id, array( $this, 'process_admin_options' ) );
woocommerce/includes/gateways/cod/class-wc-gateway-cod.php 45
add_action( 'woocommerce_update_options_payment_gateways_' . $this->id, array( $this, 'process_admin_options' ) );
woocommerce/includes/gateways/paypal/class-wc-gateway-paypal.php 74
add_action( 'woocommerce_update_options_payment_gateways_' . $this->id, array( $this, 'process_admin_options' ) );
woocommerce/src/Internal/DataStores/Orders/CustomOrdersTableController.php 120
self::add_action( 'woocommerce_update_options_advanced_custom_data_stores', array( $this, 'process_options_updated' ), 10, 0 );