woocommerce_settings_(current_tab) хук-событиеWC 1.0

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

add_action( 'woocommerce_settings_(current_tab)', 'wp_kama_woocommerce_settings_current_tab_action' );

/**
 * Function for `woocommerce_settings_(current_tab)` action-hook.
 * 
 * @return void
 */
function wp_kama_woocommerce_settings_current_tab_action(){

	// action...
}

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

В файле: /includes/admin/views/html-admin-settings.php
woocommerce_settings_(current_tab)
woocommerce/includes/admin/views/html-admin-settings.php 40
do_action( 'woocommerce_settings_' . $current_tab );

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

woocommerce/includes/admin/class-wc-admin-api-keys.php 21
add_action( 'woocommerce_settings_page_init', array( $this, 'screen_option' ) );
woocommerce/includes/admin/class-wc-admin-webhooks.php 21
add_action( 'woocommerce_settings_page_init', array( $this, 'screen_option' ) );
woocommerce/includes/admin/settings/class-wc-settings-page.php 38
add_filter( 'woocommerce_settings_tabs_array', array( $this, 'add_settings_page' ), 20 );
woocommerce/includes/admin/settings/class-wc-settings-page.php 41
add_action( 'woocommerce_settings_save_' . $this->id, array( $this, 'save' ) );
woocommerce/includes/admin/settings/class-wc-settings-tax.php 29
add_filter( 'woocommerce_settings_tabs_array', array( $this, 'add_settings_page' ), 20 );
woocommerce/includes/admin/settings/class-wc-settings-tax.php 34
add_action( 'woocommerce_settings_save_' . $this->id, array( $this, 'save' ) );
woocommerce/includes/class-wc-register-wp-admin-settings.php 40
add_filter( 'woocommerce_settings_groups', array( $this, 'register_page_group' ) );
woocommerce/includes/class-wc-register-wp-admin-settings.php 43
add_filter( 'woocommerce_settings_groups', array( $this, 'register_email_group' ) );
woocommerce/includes/tracks/events/class-wc-settings-tracking.php 75
add_action( 'woocommerce_settings_page_init', array( $this, 'track_settings_page_view' ) );
woocommerce/src/Internal/Admin/Analytics.php 53
add_action( 'woocommerce_settings_saved', array( $this, 'maybe_reload_page' ) );
woocommerce/src/Internal/Admin/Settings.php 46
add_filter( 'woocommerce_settings_groups', array( $this, 'add_settings_group' ) );
woocommerce/src/Internal/Admin/SettingsNavigationFeature.php 44
add_filter( 'woocommerce_settings_features', array( $this, 'add_feature_toggle' ) );
woocommerce/src/Internal/ProductDownloads/ApprovedDirectories/Admin/UI.php 51
add_action( 'woocommerce_settings_products', array( $this, 'render' ) );