From 2e6e8eeab6c838d30c87cf1a7e4e248d38868966 Mon Sep 17 00:00:00 2001 From: JP Mac Date: Wed, 20 Sep 2017 18:07:37 -0700 Subject: [PATCH] remove woo commerce hooks. --- library/cleanup.php | 5 ----- 1 file changed, 5 deletions(-) diff --git a/library/cleanup.php b/library/cleanup.php index fa8455531..c26e1ad71 100644 --- a/library/cleanup.php +++ b/library/cleanup.php @@ -130,8 +130,3 @@ function foundationpress_remove_figure_inline_style( $output, $attr, $content ) } endif; -// Add WooCommerce support for wrappers per http://docs.woothemes.com/document/third-party-custom-theme-compatibility/ -remove_action( 'woocommerce_before_main_content', 'woocommerce_output_content_wrapper', 10); -add_action('woocommerce_before_main_content', 'foundationpress_before_content', 10); -remove_action( 'woocommerce_after_main_content', 'woocommerce_output_content_wrapper_end', 10); -add_action('woocommerce_after_main_content', 'foundationpress_after_content', 10);