woocommerce_hooked_blocks_theme_include_list filter-hookWC 8.4.0

A list of theme slugs to execute this with. This is a temporary measure until improvements to the Block Hooks API allow for exposing to all block themes.


add_filter( 'woocommerce_hooked_blocks_theme_include_list', 'wp_kama_woocommerce_hooked_blocks_theme_include_list_filter' );

 * Function for `woocommerce_hooked_blocks_theme_include_list` filter-hook.
 * @param  $array 
 * @return 
function wp_kama_woocommerce_hooked_blocks_theme_include_list_filter( $array ){

	// filter...
	return $array;


Since 8.4.0 Introduced.

Where the hook is called

In file: /src/Blocks/Utils/BlockHooksTrait.php
woocommerce/src/Blocks/Utils/BlockHooksTrait.php 42
$theme_include_list = apply_filters( 'woocommerce_hooked_blocks_theme_include_list', array( 'Twenty Twenty-Four', 'Twenty Twenty-Three', 'Twenty Twenty-Two', 'Tsubaki', 'Zaino', 'Thriving Artist', 'Amulet', 'Tazza' ) );

Where the hook is used in WooCommerce

Usage not found.