Skip to content

Commit

Permalink
Merge pull request themeum#518 from themeum/harun
Browse files Browse the repository at this point in the history
Hook added for extend tutor functionality
  • Loading branch information
shewa12 authored Aug 3, 2023
2 parents 779b824 + 113ff6c commit 663d707
Showing 1 changed file with 15 additions and 3 deletions.
18 changes: 15 additions & 3 deletions views/pages/instructors.php
Original file line number Diff line number Diff line change
Expand Up @@ -116,14 +116,17 @@
<?php esc_html_e( 'Email', 'tutor' ); ?>
<span class="tutor-icon-ordering-a-z a-to-z-sort-icon"></span>
</th>
<th class="tutor-table-rows-sorting" width="10%">
<th class="tutor-table-rows-sorting" width="5%">
<?php esc_html_e( 'Total Courses', 'tutor' ); ?>
<span class="tutor-icon-order-down up-down-icon"></span>
</th>
<th class="tutor-table-rows-sorting" width="10%">
<th class="tutor-table-rows-sorting" width="5%">
<?php esc_html_e( 'Commission Rate', 'tutor' ); ?>
</th>
<th class="tutor-table-rows-sorting" width="15%">

<?php do_action( 'tutor_after_instructor_list_commission_column' ); ?>

<th class="tutor-table-rows-sorting" width="10%">
<?php esc_html_e( 'Status', 'tutor' ); ?>
<span class="tutor-icon-order-down up-down-icon"></span>
</th>
Expand Down Expand Up @@ -175,6 +178,9 @@
?>
</span>
</td>

<?php do_action( 'tutor_after_instructor_list_commission_column_data', $list->ID ); ?>

<td data-th="<?php esc_html_e( 'Status', 'tutor' ); ?>">
<span style="display:block; width:0; height:0; overflow:hidden;">
<?php
Expand Down Expand Up @@ -454,3 +460,9 @@
</div>
</div>
<?php endif; ?>

<style>
.table-instructors .woocommerce-Price-amount{
font-size: 0.875rem;
}
</style>

0 comments on commit 663d707

Please sign in to comment.