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

woocommerce_shared_settings хук-фильтр . WC 1.0

Low level hook for registration of new data late in the cycle.

Developers, do not use this hook as it is likely to be removed. Instead, use the data api: Automattic\WooCommerce\Blocks\Package::container()

->get( Automattic\WooCommerce\Blocks\Assets\AssetDataRegistry::class )
->add( $key, $value )

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

add_filter( 'woocommerce_shared_settings', 'filter_function_name_8282' );
function filter_function_name_8282( $data ){
	// filter...

	return $data;
}
$data
-

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

AssetDataRegistry::initialize_core_data()
woocommerce_shared_settings
woocommerce/packages/woocommerce-blocks/src/Assets/AssetDataRegistry.php 130-133
$settings = apply_filters(
	'woocommerce_shared_settings',
	$this->data
);

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

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/Homescreen.php 53
add_filter( 'woocommerce_shared_settings', array( $this, 'component_settings' ), 20 );
woocommerce/packages/woocommerce-admin/src/Features/Marketing.php 63
add_filter( 'woocommerce_shared_settings', array( $this, 'component_settings' ), 30 );
woocommerce/packages/woocommerce-admin/src/Features/Onboarding.php 217
add_filter( 'woocommerce_shared_settings', array( $this, 'component_settings' ), 20 );
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 69
add_filter( 'woocommerce_shared_settings', array( __CLASS__, 'add_component_settings' ) );
woocommerce/packages/woocommerce-blocks/src/Assets.php 26
add_filter( 'woocommerce_shared_settings', array( __CLASS__, 'get_wc_block_data' ) );