Woocommerce – Detect when a user changes any of their billing details (user meta)
I have a Woocommerce site that I want to detect if a user changes any of their billing details. I've had a look around and found this snippet: add_filter( 'insert_user_meta', function( $meta, $user, $update ) { if( true !== $update…