Skip to content

Commit

Permalink
Remove woocommerce_sidebar (woocommerce#5097)
Browse files Browse the repository at this point in the history
  • Loading branch information
tjcafferkey authored and jonny-bull committed Dec 16, 2021
1 parent 9c4616e commit f76392c
Showing 1 changed file with 0 additions and 14 deletions.
14 changes: 0 additions & 14 deletions src/BlockTypes/LegacyTemplate.php
Original file line number Diff line number Diff line change
Expand Up @@ -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();
Expand Down Expand Up @@ -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();
}
Expand Down

0 comments on commit f76392c

Please sign in to comment.