Skip to content

Commit

Permalink
feat(product-tab): add action_hook so on product tab so that we can a…
Browse files Browse the repository at this point in the history
…dd content on the product tab as needed (#245)
  • Loading branch information
saimonh3 authored and sabbir1991 committed May 9, 2018
1 parent df32867 commit 7e7f522
Showing 1 changed file with 3 additions and 0 deletions.
3 changes: 3 additions & 0 deletions templates/global/product-tab.php
Original file line number Diff line number Diff line change
Expand Up @@ -11,6 +11,7 @@
<h2><?php _e( 'Vendor Information', 'dokan-lite' ); ?></h2>

<ul class="list-unstyled">
<?php do_action( 'dokan_product_seller_tab_start', $author, $store_info ); ?>

<?php if ( !empty( $store_info['store_name'] ) ) { ?>
<li class="store-name">
Expand Down Expand Up @@ -42,4 +43,6 @@
<li class="clearfix">
<?php dokan_get_readable_seller_rating( $author->ID ); ?>
</li>

<?php do_action( 'dokan_product_seller_tab_end', $author, $store_info ); ?>
</ul>

0 comments on commit 7e7f522

Please sign in to comment.