Skip to content
This repository has been archived by the owner on Sep 16, 2019. It is now read-only.

Commit

Permalink
Merge pull request #1086 from JPOak/woocommerce-cleanup
Browse files Browse the repository at this point in the history
remove woocommerce hooks.
  • Loading branch information
olefredrik authored Sep 21, 2017
2 parents 69a5f49 + 2e6e8ee commit 7e5d927
Showing 1 changed file with 0 additions and 5 deletions.
5 changes: 0 additions & 5 deletions library/cleanup.php
Original file line number Diff line number Diff line change
Expand Up @@ -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);

0 comments on commit 7e5d927

Please sign in to comment.