woocommerce_settings-(group_id) filter-hookWC 1.0

Usage

add_filter( 'woocommerce_settings-(group_id)', 'wp_kama_woocommerce_settings_group_id_filter' );

/**
 * Function for `woocommerce_settings-(group_id)` filter-hook.
 * 
 * @param  $array 
 *
 * @return 
 */
function wp_kama_woocommerce_settings_group_id_filter( $array ){

	// filter...
	return $array;
}
$array
-

Where the hook is called

WC_REST_Setting_Options_Controller::get_group_settings()
woocommerce_settings-(group_id)
WC_REST_Setting_Options_V2_Controller::get_group_settings()
woocommerce_settings-(group_id)
woocommerce/includes/rest-api/Controllers/Version3/class-wc-rest-setting-options-controller.php 79
$settings = apply_filters( 'woocommerce_settings-' . $group_id, array() ); // phpcs:ignore WordPress.NamingConventions.ValidHookName.UseUnderscores
woocommerce/includes/rest-api/Controllers/Version2/class-wc-rest-setting-options-v2-controller.php 169
$settings = apply_filters( 'woocommerce_settings-' . $group_id, array() );

Where the hook is used in WooCommerce

woocommerce/includes/class-wc-register-wp-admin-settings.php 44
add_filter( 'woocommerce_settings-email_' . $this->object->id, array( $this, 'register_email_settings' ) );
woocommerce/src/Internal/Admin/Settings.php 46
add_filter( 'woocommerce_settings-wc_admin', array( $this, 'add_settings' ) );