woocommerce_blocks_mini_cart_auto_insert_theme_include_list
woocommerce_blocks_mini_cart_auto_insert_theme_include_list
Appears in: woocommerce.8.5.1, woocommerce.8.5.2
Hook Type: filter
Displaying hooks found in version: woocommerce.8.5.2apply_filters('woocommerce_blocks_mini_cart_auto_insert_theme_include_list') is found 1 times:
- /src/Blocks/BlockTypes/MiniCart.php line 612
* to all block themes. * * @since $VID:$ */ $theme_include_list = apply_filters( 'woocommerce_blocks_mini_cart_auto_insert_theme_include_list', array( 'Twenty Twenty-Four', 'Twenty Twenty-Three', 'Twenty Twenty-Two', 'Tsubaki', 'Zaino', 'Thriving Artist', 'Amulet' ) ); if ( $context && in_array( $active_theme_name, $theme_include_list, true ) ) { if ( 'after' === $position && 'core/navigation' === $anchor_block && $this->is_header_part_or_pattern( $context ) &&