apply_filters( 'woocommerce_shared_settings' )

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


Description Description

Instead, use the data api: Automattic\WooCommerce\Blocks\Package::container() ->get( Automattic\WooCommerce\Blocks\Assets\AssetDataRegistry::class ) ->add( $key, $value )


Source Source

File: packages/woocommerce-blocks/src/Assets/AssetDataRegistry.php



Top ↑

User Contributed Notes User Contributed Notes

You must log in before being able to contribute a note or feedback.