Adds a Number of Shipping Related Action Calls
Adds a number of shipping related action calls to provide more hooks for customizations
This commit is contained in:
parent
bdfdb074cd
commit
37efd18ffc
|
@ -236,6 +236,8 @@ function woocommerce_order_data_meta_box($post) {
|
|||
endforeach;
|
||||
|
||||
echo '</div>';
|
||||
|
||||
do_action('woocommerce_admin_order_data_after_shipping_address');
|
||||
?>
|
||||
</div>
|
||||
</div>
|
||||
|
|
|
@ -35,6 +35,8 @@ $available_methods = $woocommerce->shipping->get_available_shipping_methods();
|
|||
|
||||
<?php if ($woocommerce->cart->needs_shipping()) : ?>
|
||||
|
||||
<?php do_action('woocommerce_review_order_before_shipping'); ?>
|
||||
|
||||
<tr class="shipping">
|
||||
<th colspan="2"><?php _e('Shipping', 'woocommerce'); ?></th>
|
||||
<td>
|
||||
|
@ -96,6 +98,8 @@ $available_methods = $woocommerce->shipping->get_available_shipping_methods();
|
|||
?></td>
|
||||
|
||||
</tr>
|
||||
|
||||
<?php do_action('woocommerce_review_order_after_shipping'); ?>
|
||||
|
||||
<?php endif; ?>
|
||||
|
||||
|
|
|
@ -46,4 +46,6 @@
|
|||
|
||||
<?php woocommerce_get_template('emails/email-addresses.php', array( 'order' => $order )); ?>
|
||||
|
||||
<?php do_action('woocommerce_email_after_addresses', $order); ?>
|
||||
|
||||
<?php do_action('woocommerce_email_footer'); ?>
|
|
@ -46,4 +46,6 @@
|
|||
|
||||
<?php woocommerce_get_template('emails/email-addresses.php', array( 'order' => $order )); ?>
|
||||
|
||||
<?php do_action('woocommerce_email_after_addresses', $order); ?>
|
||||
|
||||
<?php do_action('woocommerce_email_footer'); ?>
|
|
@ -50,4 +50,6 @@
|
|||
|
||||
<?php woocommerce_get_template('emails/email-addresses.php', array( 'order' => $order )); ?>
|
||||
|
||||
<?php do_action('woocommerce_email_after_addresses', $order); ?>
|
||||
|
||||
<?php do_action('woocommerce_email_footer'); ?>
|
|
@ -46,4 +46,6 @@
|
|||
|
||||
<?php woocommerce_get_template('emails/email-addresses.php', array( 'order' => $order )); ?>
|
||||
|
||||
<?php do_action('woocommerce_email_after_addresses', $order); ?>
|
||||
|
||||
<?php do_action('woocommerce_email_footer'); ?>
|
Loading…
Reference in New Issue