AssetDataRegistry::enqueue_asset_data()
Callback for enqueuing asset data via the WP api.
Description Description
Note: while this is hooked into print/admin_print_scripts, it still only happens if the script attached to wc-settings
handle is enqueued. This is done to allow for any potentially expensive data generation to only happen for routes that need it.
Source Source
File: packages/woocommerce-blocks/src/Assets/AssetDataRegistry.php