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

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

add_action( 'woocommerce_settings_tabs_(current_tab)', 'wp_kama_woocommerce_settings_tabs_current_tab_action' );

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

	// action...
}

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

В файле: /includes/admin/views/html-admin-settings.php
woocommerce_settings_tabs_(current_tab)
woocommerce/includes/admin/views/html-admin-settings.php 41
do_action( 'woocommerce_settings_tabs_' . $current_tab ); // @deprecated 3.4.0 hook.

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

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-tax.php 29
add_filter( 'woocommerce_settings_tabs_array', array( $this, 'add_settings_page' ), 20 );