• Resolved shimane

    (@shimane)


    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)
  • Mirko P.

    (@rainfallnixfig)

    Hi there,

    Thanks for reaching out.

    This is a more development-oriented question. I’ll go ahead and leave this thread open for a bit in case anyone else wants to chime in, but in the meantime, I can also recommend the following resources for help:

    Cheers.

    Mirko P.

    (@rainfallnixfig)

    Hi there,

    We’ve not seen any activity on this thread for a while, so I’m marking this thread as resolved.

    Hopefully, you were able to find a solution and the above resources for developers were helpful. If you have further questions, please feel free to open a new topic.

    Thanks.

Viewing 2 replies - 1 through 2 (of 2 total)
  • The topic ‘woocommerce’ is closed to new replies.