Declared WooCommerce support, bumped add-to-cart version number
authorLaury GvR <laury@gaslightmedia.com>
Wed, 8 Nov 2017 14:31:01 +0000 (09:31 -0500)
committerLaury GvR <laury@gaslightmedia.com>
Wed, 8 Nov 2017 14:31:01 +0000 (09:31 -0500)
functions.php
woocommerce/loop/add-to-cart.php

index a5f9d93..0d980ec 100644 (file)
@@ -240,6 +240,11 @@ function is_post_type($type){
     return false;
 }
 
+add_action( 'after_setup_theme', 'woocommerce_support' );
+function woocommerce_support() {
+    add_theme_support( 'woocommerce' );
+}
+
 add_filter('glm-get-trail-links', function($member_id) {
     $products = get_posts(
         array(
index ee320fe..815372b 100644 (file)
@@ -13,7 +13,7 @@
  * @see            https://docs.woocommerce.com/document/template-structure/
  * @author             WooThemes
  * @package    WooCommerce/Templates
- * @version     2.5.0
+ * @version     3.0.0
  */
 
 if ( ! defined( 'ABSPATH' ) ) {