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

Remove woocommerce_sidebar #5097

Merged
merged 1 commit into from
Nov 8, 2021
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
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