Alert: This function’s access is marked private. This means it is not intended for use by plugin or theme developers, only in other core functions. It is listed here for completeness.

WC_Blocks_Utils::get_all_blocks_from_page( string $woo_page_name )

Get blocks from a woocommerce page.

Description Description

Parameters Parameters


(Required) A woocommerce page e.g. checkout or cart.

Top ↑

Return Return

(array) Array of blocks as returned by parse_blocks().

Top ↑

Source Source

File: includes/blocks/class-wc-blocks-utils.php

Top ↑

User Contributed Notes User Contributed Notes

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