I tried my best googling on how to hide the customer IP address shown in the WooCommerce order edit pages, but no code has helped me yet.
I basically just want to show the Payment method to the shop manager(i.e. : via Card Payment). I want to get rid of any other text.
This question WooCommerce - Change paid text in admin panel order details page gave me some understanding on how to remove the Paid on text (ps : I replaced it with “”).
But other than this, I got no clue how to hide the Customer IP address.
I tried the following code, without success:
add_filter( 'update_post_metadata', 'mp1401091554', 10, 3 );
function mp1401091554( $null, $id, $key ) {
if ( '_customer_ip_address' === $key )
return FALSE;
return $null;
}