woocommerce
-
Hello,
I am using XYZ php code plugin to generate shortcode: [xyz-ips snippet=”front-end-phone-number”]
here is php code:
<?php $user_id = get_current_user_id(); $phone_number = get_user_meta($user_id, 'phone_number', true); ?> <?php echo $phone_number; ?>
So My question is..
i want to show user number on a new order notification under additional content, if i just paste the shortcode it doesn’t work..please help..
The page I need help with: [log in to see the link]
Viewing 2 replies - 1 through 2 (of 2 total)
Viewing 2 replies - 1 through 2 (of 2 total)
- The topic ‘woocommerce’ is closed to new replies.