WordPress at Your Fingertips
function is not described

Automattic\WooCommerce\Blocks\Assets

AssetDataRegistry::execute_lazy_data() protected WC 1.0

Loops through each registered lazy data callback and adds the returned value to the data array.

This method is executed right before preparing the data for printing to the rendered screen.

{} It's a method of the class: AssetDataRegistry{}

No Hooks.

Return

null. Nothing.

Usage

// protected - for code of main (parent) or child class
$result = $this->execute_lazy_data();

Code of AssetDataRegistry::execute_lazy_data() WC 5.6.0

protected function execute_lazy_data() {
	foreach ( $this->lazy_data as $key => $callback ) {
		$this->data[ $key ] = $callback();
	}
}