Custom Product Tabs for WooCommerce - Version 1.1

Version Description

  • Added class to the Woo tabs content title, for targeting via CSS ( .yikes-custom-woo-tab-title )
Download this release

Release Info

Developer eherman24
Plugin Icon 128x128 Custom Product Tabs for WooCommerce
Version 1.1
Comparing to
See all releases

Code changes from version 1.0 to 1.1

readme.txt CHANGED
@@ -6,7 +6,7 @@ Requires at least: 3.8
6
  Tested up to: 4.1
7
  Requires WooCommerce at least: 2.0
8
  Tested WooCommerce up to: 2.2.10
9
- Stable tag: 1.0
10
  License: GPLv2 or later
11
 
12
  This plugin extends WooCommerce to allow site admins to add custom tabs to products.
@@ -49,5 +49,8 @@ To change the order of the custom tabs use the up and down arrows to the right o
49
 
50
  == Changelog ==
51
 
 
 
 
52
  = 1.0.0 =
53
  * Initial Release
6
  Tested up to: 4.1
7
  Requires WooCommerce at least: 2.0
8
  Tested WooCommerce up to: 2.2.10
9
+ Stable tag: 1.1
10
  License: GPLv2 or later
11
 
12
  This plugin extends WooCommerce to allow site admins to add custom tabs to products.
49
 
50
  == Changelog ==
51
 
52
+ = 1.1 =
53
+ * Added class to the Woo tabs content title, for targeting via CSS ( `.yikes-custom-woo-tab-title` )
54
+
55
  = 1.0.0 =
56
  * Initial Release
yikes-inc-easy-custom-woocommerce-product-tabs.php CHANGED
@@ -5,7 +5,7 @@
5
  * Description: Extend WooCommerce to add and manage custom product tabs. Create as many product tabs as needed per product.
6
  * Author: YIKES Inc
7
  * Author URI: http://www.yikesinc.com
8
- * Version: 1.0
9
  * Tested up to: 4.1
10
  * Text Domain: yikes-inc-woocommerce-custom-product-tabs
11
  * Domain Path: /i18n/languages/
@@ -63,7 +63,7 @@
63
  private $tab_data = false;
64
 
65
  /** plugin version number */
66
- const VERSION = "1.0";
67
 
68
  /** plugin text domain */
69
  const TEXT_DOMAIN = 'yikes-inc-woocommerce-custom-product-tabs';
@@ -87,7 +87,7 @@
87
  /**
88
  * Init WooCommerce PDF Product Vouchers when WordPress initializes
89
  *
90
- * @since 1.2.5
91
  */
92
  public function load_translation() {
93
  // localization
@@ -146,7 +146,7 @@
146
  * )
147
  * )
148
  *
149
- * @since 1.2.0
150
  * @param array $tabs array representing the product tabs
151
  * @return array representing the product tabs
152
  */
@@ -190,7 +190,7 @@
190
  $content = apply_filters( 'the_content', $tab['content'] );
191
  $content = str_replace( ']]>', ']]>', $content );
192
 
193
- echo apply_filters( 'yikes_woocommerce_custom_repeatable_product_tabs_heading', '<h2>' . $tab['title'] . '</h2>', $tab );
194
  echo apply_filters( 'yikes_woocommerce_custom_repeatable_product_tabs_content', $content, $tab );
195
  }
196
 
5
  * Description: Extend WooCommerce to add and manage custom product tabs. Create as many product tabs as needed per product.
6
  * Author: YIKES Inc
7
  * Author URI: http://www.yikesinc.com
8
+ * Version: 1.1
9
  * Tested up to: 4.1
10
  * Text Domain: yikes-inc-woocommerce-custom-product-tabs
11
  * Domain Path: /i18n/languages/
63
  private $tab_data = false;
64
 
65
  /** plugin version number */
66
+ const VERSION = "1.1";
67
 
68
  /** plugin text domain */
69
  const TEXT_DOMAIN = 'yikes-inc-woocommerce-custom-product-tabs';
87
  /**
88
  * Init WooCommerce PDF Product Vouchers when WordPress initializes
89
  *
90
+ * @since 1.0.0
91
  */
92
  public function load_translation() {
93
  // localization
146
  * )
147
  * )
148
  *
149
+ * @since 1.0.0
150
  * @param array $tabs array representing the product tabs
151
  * @return array representing the product tabs
152
  */
190
  $content = apply_filters( 'the_content', $tab['content'] );
191
  $content = str_replace( ']]>', ']]&gt;', $content );
192
 
193
+ echo apply_filters( 'yikes_woocommerce_custom_repeatable_product_tabs_heading', '<h2 class="yikes-custom-woo-tab-title yikes-custom-woo-tab-title-'.sanitize_title($tab['title']).'">' . $tab['title'] . '</h2>', $tab );
194
  echo apply_filters( 'yikes_woocommerce_custom_repeatable_product_tabs_content', $content, $tab );
195
  }
196