rebase on oct-10-2023

This commit is contained in:
Rachit Bhargava
2023-10-10 17:23:21 -04:00
parent d37566ffb6
commit d096058d7d
4789 changed files with 254611 additions and 307223 deletions

View File

@@ -250,6 +250,21 @@ class WC_Meta_Box_Order_Data {
?>
</p>
<?php
/**
* Hook allowing extenders to render custom content
* within the Order details box.
*
* This allows urgent notices or other important
* order-related info to be displayed upfront in
* the order page. Example: display a notice if
* the order is disputed.
*
* @param $order WC_Order The order object being displayed.
* @since 7.9.0
*/
do_action( 'woocommerce_admin_order_data_after_payment_info', $order );
?>
<div class="order_data_column_container">
<div class="order_data_column">
<h3><?php esc_html_e( 'General', 'woocommerce' ); ?></h3>