diff --git a/src/BlockTypes/LegacyTemplate.php b/src/BlockTypes/LegacyTemplate.php index 8c59ea43ad8..ae3d0efa309 100644 --- a/src/BlockTypes/LegacyTemplate.php +++ b/src/BlockTypes/LegacyTemplate.php @@ -80,13 +80,6 @@ protected function render_single_product() { */ do_action( 'woocommerce_after_main_content' ); - /** - * Woocommerce_sidebar hook. - * - * @hooked woocommerce_get_sidebar - 10 - */ - do_action( 'woocommerce_sidebar' ); - wp_reset_postdata(); return ob_get_clean(); @@ -176,13 +169,6 @@ protected function render_archive_product() { */ do_action( 'woocommerce_after_main_content' ); - /** - * Hook: woocommerce_sidebar. - * - * @hooked woocommerce_get_sidebar - 10 - */ - do_action( 'woocommerce_sidebar' ); - wp_reset_postdata(); return ob_get_clean(); }