Dev Resources

  • Home
  • Reference
  • BuddyX Theme
  • Functions
  • Hooks
  • Classes
Filter by type:
Search
Browse: Home / Reference / includes/blocks/class-wc-blocks-utils.php

WC_Blocks_Utils::has_block_in_page()

Method: Check if a given page contains a particular block.

Source: includes/blocks/class-wc-blocks-utils.php:69

Used by 1 function | Uses 0 functions

WC_Blocks_Utils

Class: Blocks Utility class.

Source: includes/blocks/class-wc-blocks-utils.php:16

Used by 0 functions | Uses 0 functions

WC_Blocks_Utils::get_all_blocks_from_page()

Method: Get blocks from a woocommerce page.

Source: includes/blocks/class-wc-blocks-utils.php:24

Used by 1 function | Uses 1 function

WC_Blocks_Utils::get_blocks_from_page()

Method: Get all instances of the specified block on a specific woo page (e.g. `cart` or `checkout` page).

Source: includes/blocks/class-wc-blocks-utils.php:48

Used by 1 function | Uses 1 function
Proudly powered by WordPress