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

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

Low level hook for registration of new data late in the cycle. This is deprecated. Instead, use the data api: Automattic\WooCommerce\Blocks[Package::container()](https://wp-kama.ru/plugin/woocommerce/function/Package::container)

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

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

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

	return $data;
}
$data
-

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

AssetDataRegistry::initialize_core_data()
woocommerce_shared_settings
woocommerce/packages/woocommerce-blocks/src/Assets/AssetDataRegistry.php 200
$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 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 216
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 79
add_filter( 'woocommerce_shared_settings', array( __CLASS__, 'add_component_settings' ) );