• Skip to primary navigation
  • Skip to main content
  • Skip to primary sidebar
  • Skip to footer
WooCommerce a2z

WooCommerce a2z

WooCommerce

  • Home
  • Plugins
  • Blocks
  • Shortcodes
  • APIs
  • Classes
  • Files
  • Hooks
  • Sitemap
  • Blog
Home / APIs / AssetDataRegistry::execute_lazy_data() – Loops through each registered lazy data callback and adds the returned value to the data array.

You appear to be a bot. Output may be restricted

Description

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.

Usage

$void = AssetDataRegistry::execute_lazy_data();

Parameters

Returns

void

Source

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

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

 View on GitHub View on Trac

Published: 8th February 2020 | Last updated: 21st August 2020

Primary Sidebar

Information

Function name: AssetDataRegistry::execute_lazy_data
Class ref: AssetDataRegistry
Plugin ref: WooCommerce
Version: 5.1.0
Sourcefile: packages/woocommerce-blocks/src/Assets/AssetDataRegistry.php
File ref: packages/woocommerce-blocks/src/Assets/AssetDataRegistry.php
Deprecated?: No
API Letters: A,D,E,L

Footer

WooCommerce a2z
WooCommerce a2z
WooCommerce
WordPress 5.7
WordPress a2z
WordPress core a2z
Genesis Theme Framework a2z
Jetpack a2z
WordPress develop tests
Easy Digital Downloads a2z
WooCommerce a2z
Yoast SEO a2z
WordPress Blocks

Site:  woocommerce.wp-a2z.org
© Copyright WooCommerce a2z 2014-2021. All rights reserved.


Website designed and developed by Herb Miller
Proudly powered by WordPress and oik plugins

  • Home
  • Blog
  • Sitemap
  • Sites