Skip to content
This repository has been archived by the owner on Feb 23, 2024. It is now read-only.

Commit

Permalink
Updated hook (#5038)
Browse files Browse the repository at this point in the history
  • Loading branch information
tjcafferkey authored Oct 29, 2021
1 parent 0d940de commit 75cfa1c
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/BlockTemplatesController.php
Original file line number Diff line number Diff line change
Expand Up @@ -136,7 +136,7 @@ public function render_block_template() {
! $this->theme_has_template( 'single-product' ) &&
$this->default_block_template_is_available( 'single-product' )
) {
add_filter( 'wc_has_block_template', '__return_true', 10, 0 );
add_filter( 'woocommerce_has_block_template', '__return_true', 10, 0 );
}
}
}

0 comments on commit 75cfa1c

Please sign in to comment.