Merge pull request #10994 from DavidAnderson684/patch-2
Place customer IP inside a span for easier access
This commit is contained in:
commit
42374d6ed6
|
@ -188,7 +188,7 @@ class WC_Meta_Box_Order_Data {
|
|||
}
|
||||
|
||||
if ( $ip_address = get_post_meta( $post->ID, '_customer_ip_address', true ) ) {
|
||||
echo __( 'Customer IP', 'woocommerce' ) . ': ' . esc_html( $ip_address );
|
||||
echo __( 'Customer IP', 'woocommerce' ) . ': <span class="customer_ip">' . esc_html( $ip_address ) . '</span>';
|
||||
}
|
||||
?></p>
|
||||
|
||||
|
|
Loading…
Reference in New Issue