woocommerce_disable_compatibility_layer
woocommerce_disable_compatibility_layer
Appears in: woocommerce.7.6.0, woocommerce.7.6.1, woocommerce.7.7.0, woocommerce.7.7.1, woocommerce.7.8.1, woocommerce.7.9.0, woocommerce.8.0.2, woocommerce.8.0.3, woocommerce.8.1.1, woocommerce.8.2.1, woocommerce.8.2.2, woocommerce.8.3.1, woocommerce.8.4.0, woocommerce.8.5.1, woocommerce.8.5.2, woocommerce.8.6.0, woocommerce.8.6.1, woocommerce.8.7.0, woocommerce.8.8.3, woocommerce.8.9.2, woocommerce.8.9.3, woocommerce.9.0.2, woocommerce.9.1.2, woocommerce.9.1.4, woocommerce.9.2.2, woocommerce.9.2.3, woocommerce.9.3.1, woocommerce.9.3.3, woocommerce.9.4.2, woocommerce.9.4.3, woocommerce.9.5.1
Hook Type: filter
See hook in action
Displaying hooks found in version: woocommerce.9.5.1apply_filters('woocommerce_disable_compatibility_layer') is found 2 times:
- /src/Blocks/Templates/AbstractTemplateCompatibility.php line 37
* * @since 7.6.0 * @param boolean. */ $is_disabled_compatility_layer = apply_filters( 'woocommerce_disable_compatibility_layer', false ); if ( $is_disabled_compatility_layer ) { return $parsed_block; } return $this->update_render_block_data( $parsed_block, $source_block, $parent_block );
- /src/Blocks/Templates/AbstractTemplateCompatibility.php line 60
* * @since 7.6.0 * @param boolean. */ $is_disabled_compatibility_layer = apply_filters( 'woocommerce_disable_compatibility_layer', false ); if ( $is_disabled_compatibility_layer ) { return $block_content; } return $this->inject_hooks( $block_content, $block );