woocommerce_blocks_cart_enqueue_data

woocommerce_blocks_cart_enqueue_data

Appears in: , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , ,
Hook Type: action
See hook in action

See hook in core

Displaying hooks found in version: woocommerce.9.5.1

do_action('woocommerce_blocks_cart_enqueue_data') is found 2 times:

  • /src/Blocks/BlockTypes/Cart.php line 265
    		 * Fires after cart block data is registered.
    		 *
    		 * @since 2.6.0
    		 */
    		do_action( 'woocommerce_blocks_cart_enqueue_data' );
    	}
    
    	/**
    	 * Register script and style assets for the block type before it is registered.
    	 *
    	 * This registers the scripts; it does not enqueue them.
    
  • /src/Blocks/BlockTypes/MiniCart.php line 216
    		 * Fires after cart block data is registered.
    		 *
    		 * @since 5.8.0
    		 */
    		do_action( 'woocommerce_blocks_cart_enqueue_data' );
    	}
    
    	/**
    	 * Prints the variable containing information about the scripts to lazy load.
    	 */
    	public function print_lazy_load_scripts() {
    

See this hook used in plugins: