Skip to content

Commit

Permalink
Merge remote-tracking branch 'origin/master'
Browse files Browse the repository at this point in the history
  • Loading branch information
mikejolley committed Dec 19, 2016
2 parents e974682 + c980817 commit 9617030
Show file tree
Hide file tree
Showing 2 changed files with 8 additions and 1 deletion.
7 changes: 7 additions & 0 deletions includes/wc-template-hooks.php
Original file line number Diff line number Diff line change
Expand Up @@ -192,6 +192,13 @@
add_filter( 'woocommerce_product_tabs', 'woocommerce_default_product_tabs' );
add_filter( 'woocommerce_product_tabs', 'woocommerce_sort_product_tabs', 99 );

/**
* Additional Information tab.
*
* @see wc_display_product_attributes()
*/
add_action( 'woocommerce_product_additional_information', 'wc_display_product_attributes', 10 );

/**
* Photoswipe.
*/
Expand Down
2 changes: 1 addition & 1 deletion templates/single-product/tabs/additional-information.php
Original file line number Diff line number Diff line change
Expand Up @@ -30,4 +30,4 @@
<h2><?php echo $heading; ?></h2>
<?php endif; ?>

<?php wc_display_product_attributes( $product ); ?>
<?php do_action( 'woocommerce_product_additional_information', $product ); ?>

0 comments on commit 9617030

Please sign in to comment.