Merge pull request #10767 from webmandesign/patch-1
Adding tab specific class
This commit is contained in:
commit
c067a1675d
|
@ -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; ?>
|
||||
|
|
Loading…
Reference in New Issue