AssetDataRegistry::get_core_data()

Exposes core data via the wcSettings global. This data is shared throughout the client.


Description Description

Settings that are used by various components or multiple blocks should be added here. Note, that settings here are global so be sure not to add anything heavy if possible.


Return Return

(array) An array containing core data.


Top ↑

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.