WooCommerce how to check is new user and show user id after checkout finish

  hook-woocommerce, php, woocommerce

I want to show only is new user register id alse will show is old after at checkout + register at this page finish payment.

function is_new_customer( $customer_id ) { 
   return $customer_id ;
}

Source: Ask PHP

LEAVE A COMMENT