Merge pull request #10767 from webmandesign/patch-1

Adding tab specific class
This commit is contained in:
Mike Jolley 2016-04-25 14:42:09 +01:00
commit c067a1675d
1 changed files with 1 additions and 1 deletions

View File

@ -39,7 +39,7 @@ if ( ! empty( $tabs ) ) : ?>
<?php endforeach; ?>
</ul>
<?php foreach ( $tabs as $key => $tab ) : ?>
<div class="panel entry-content wc-tab" id="tab-<?php echo esc_attr( $key ); ?>">
<div class="woocommerce-Tabs-panel woocommerce-Tabs-panel--<?php echo esc_attr( $key ); ?> panel entry-content wc-tab" id="tab-<?php echo esc_attr( $key ); ?>">
<?php call_user_func( $tab['callback'], $key, $tab ); ?>
</div>
<?php endforeach; ?>