woocommerce_settings_saved хук-событиеWC 1.0

Использование

add_action( 'woocommerce_settings_saved', 'wp_kama_woocommerce_settings_saved_action' );

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

	// action...
}

Где вызывается хук

WC_Admin_Settings::save()
woocommerce_settings_saved
woocommerce/includes/admin/class-wc-admin-settings.php 90
do_action( 'woocommerce_settings_saved' );

Где используется хук в WooCommerce

woocommerce/src/Admin/Features/MultichannelMarketing/Init.php 36
add_action( 'woocommerce_settings_saved', array( $this, 'maybe_reload_page' ) );
woocommerce/src/Admin/Features/Navigation/Init.php 38
add_action( 'woocommerce_settings_saved', array( $this, 'maybe_reload_page' ) );
woocommerce/src/Internal/Admin/Analytics.php 53
add_action( 'woocommerce_settings_saved', array( $this, 'maybe_reload_page' ) );