WordPress как на ладони
Недорогой хостинг для сайтов на WordPress: wordpress.jino.ru Авторские Темы для WordPress
фильтр не описан

woocommerce_(id)_settings хук-фильтр . WC 1.0

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

add_filter( 'woocommerce_(id)_settings', 'filter_function_name_2539' );
function filter_function_name_2539( $account_settings ){
	// filter...

	return $account_settings;
}
$account_settings
-

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

WC_Settings_Accounts::get_settings()
woocommerce_(id)_settings
woocommerce/includes/admin/settings/class-wc-settings-accounts.php 231-234
$settings = apply_filters(
	'woocommerce_' . $this->id . '_settings',
	$account_settings
);

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

woocommerce/includes/admin/class-wc-admin-api-keys.php 22
add_filter( 'woocommerce_save_settings_advanced_keys', array( $this, 'allow_save_settings' ) );
woocommerce/includes/admin/class-wc-admin-webhooks.php 22
add_filter( 'woocommerce_save_settings_advanced_webhooks', array( $this, 'allow_save_settings' ) );
woocommerce/includes/class-wc-register-wp-admin-settings.php 41
add_filter( 'woocommerce_settings-' . $this->object->get_id(), array( $this, 'register_page_settings' ) );
woocommerce/includes/class-wc-register-wp-admin-settings.php 44
add_filter( 'woocommerce_settings-email_' . $this->object->id, array( $this, 'register_email_settings' ) );
woocommerce/packages/woocommerce-admin/src/Features/ActivityPanels.php 38
add_filter( 'woocommerce_components_settings', array( $this, 'component_settings' ), 20 );
woocommerce/packages/woocommerce-admin/src/Features/ActivityPanels.php 40
add_filter( 'woocommerce_shared_settings', array( $this, 'component_settings' ), 20 );
woocommerce/packages/woocommerce-admin/src/Features/Features.php 38
add_filter( 'woocommerce_get_settings_advanced', array( __CLASS__, 'add_features_settings' ), 10, 2 );
woocommerce/packages/woocommerce-admin/src/Features/Homescreen.php 52
add_filter( 'woocommerce_shared_settings', array( $this, 'component_settings' ), 20 );
woocommerce/packages/woocommerce-admin/src/Features/Marketing.php 64
add_filter( 'woocommerce_shared_settings', array( $this, 'component_settings' ), 30 );
woocommerce/packages/woocommerce-admin/src/Features/Onboarding.php 220
add_filter( 'woocommerce_admin_preload_settings', array( $this, 'preload_settings' ) );
woocommerce/packages/woocommerce-admin/src/Features/Onboarding.php 216
add_filter( 'woocommerce_components_settings', array( $this, 'component_settings' ), 20 );
woocommerce/packages/woocommerce-admin/src/Features/Onboarding.php 218
add_filter( 'woocommerce_shared_settings', array( $this, 'component_settings' ), 20 );
woocommerce/packages/woocommerce-admin/src/Features/OnboardingTasks.php 58
add_filter( 'woocommerce_components_settings', array( __CLASS__, 'component_settings' ), 30 );
woocommerce/packages/woocommerce-admin/src/Features/OnboardingTasks.php 60
add_filter( 'woocommerce_shared_settings', array( $this, 'component_settings' ), 30 );
woocommerce/packages/woocommerce-admin/src/Features/Settings.php 53
add_filter( 'woocommerce_shared_settings', array( __CLASS__, 'add_component_settings' ) );
woocommerce/packages/woocommerce-admin/src/Loader.php 67
add_filter( 'woocommerce_components_settings', array( __CLASS__, 'add_component_settings' ) );
woocommerce/packages/woocommerce-admin/src/Loader.php 69
add_filter( 'woocommerce_shared_settings', array( __CLASS__, 'add_component_settings' ) );
woocommerce/packages/woocommerce-admin/src/Loader.php 77
add_filter( 'woocommerce_settings-wc_admin', array( __CLASS__, 'add_settings' ) );