apply_filters( 'woocommerce_blocks_product_grid_is_cacheable' )

Product List Render event.


Description Description

Fires a WP Hook named experimental__woocommerce_blocks-product-list-render on render so that the client can add event handling when certain products are displayed. This can be used by tracking extensions such as Google Analytics to track impressions.

Provides the list of product data (shaped like the Store API responses) and the block name.


Source Source

File: packages/woocommerce-blocks/src/BlockTypes/AbstractProductGrid.php



Top ↑

User Contributed Notes User Contributed Notes

You must log in before being able to contribute a note or feedback.