Skip to content

Commit

Permalink
Make WooCommerce templates consistent
Browse files Browse the repository at this point in the history
  • Loading branch information
gdarko committed Nov 25, 2024
1 parent 926989f commit f784d73
Show file tree
Hide file tree
Showing 2 changed files with 8 additions and 3 deletions.
4 changes: 4 additions & 0 deletions templates/woocommerce/dlm/my-account/licenses/index.php
Original file line number Diff line number Diff line change
Expand Up @@ -29,6 +29,8 @@

defined( 'ABSPATH' ) || exit; ?>

<?php do_action( 'dlm_myaccount_licenses_index_page_start', $licenses ); ?>

<?php if ( ! empty( $licenses ) ): ?>

<div class="dlm-myaccount-product-licenses">
Expand Down Expand Up @@ -140,3 +142,5 @@
</div>

<?php endif; ?>

<?php do_action( 'dlm_myaccount_licenses_index_page_end', $licenses ); ?>
7 changes: 4 additions & 3 deletions templates/woocommerce/dlm/my-account/licenses/single.php
Original file line number Diff line number Diff line change
Expand Up @@ -39,9 +39,10 @@

?>

<?php do_action( 'dlm_myaccount_single_page_start', $license, $order, $product, $date_format, $license_key ); ?>

<h2 class="dlm-myaccount-page-title dlm-myaccount-page-title--license-details"><?php esc_html_e( 'License Details', 'digital-license-manager' ); ?></h2>
<?php
do_action( 'dlm_myaccount_single_page_start', $license, $order, $product, $date_format, $license_key ); // DEPRECATED as of 1.7.1.
do_action( 'dlm_myaccount_licenses_single_page_start', $license, $order, $product, $date_format, $license_key );
?>

<table class="dlm-myaccount-table dlm-myaccount-table--license-details woocommerce-table woocommerce-table--order-details shop_table order_details">
<tbody>
Expand Down

0 comments on commit f784d73

Please sign in to comment.