Dati di accesso“; echo ‘Username: ‘ . $current_user->user_login . ‘
‘; echo ‘Email: ‘ . $current_user->user_email . ‘
‘; echo ‘Nome: ‘ . $current_user->user_firstname . ‘
‘; echo ‘Cognome: ‘ . $current_user->user_lastname . ‘
‘; echo ‘Nome pubblico: ‘ . $current_user->display_name . ‘
‘; echo ‘User ID: ‘ . $current_user->ID . ‘
‘; // get woocommerce user meta echo “

Dati fatturazione

“; echo ‘Azienda: ‘ . $current_user->billing_company .’
‘; echo ‘Indirizzo 1: ‘ . $current_user->billing_address_1 .’
‘; echo ‘Indirizzo 2: ‘ . $current_user->billing_address_2 .’
‘; echo ‘Città: ‘ . $current_user->billing_city .’
‘; echo ‘CAP: ‘ . $current_user->billing_postcode .’
‘; echo ‘Nazione: ‘ . $current_user->billing_country .’
‘; echo ‘Provincia: ‘ . $current_user->billing_state .’
‘; echo ‘Telefono: ‘ . $current_user->billing_phone .’
‘; echo ‘Email: ‘ . $current_user->billing_email .’
‘; echo “

Dati spedizione

“; echo ‘Nome: ‘ . $current_user->shipping_first_name .’
‘; echo ‘Cognome: ‘ . $current_user->shipping_last_name .’
‘; echo ‘Azienda: ‘ . $current_user->shipping_company .’
‘; echo ‘Indirizzo 1: ‘ . $current_user->shipping_address_1 .’
‘; echo ‘Indirizzo 2: ‘ . $current_user->shipping_address_2 .’
‘; echo ‘Città: ‘ . $current_user->shipping_city .’
‘; echo ‘CAP: ‘ . $current_user->shipping_postcode .’
‘; echo ‘Nazione: ‘ . $current_user->shipping_country .’
‘; echo ‘Provincia: ‘ . $current_user->shipping_state .’
‘; //get ACF user meta echo $presta_consenso_newsletter = get_field(‘presta_consenso_newsletter’, ‘user_’.$current_user->ID ); } add_shortcode(‘show_user_profile’,’user_profile’);

WhatsApp chat