• Resolved m21353153

    (@m21353153)


    New to wordpress! Coming from Shopify where we can output certain customer data using code. Not sure if it’s possible over here, but I’d like to output the woocommerce customer’s website url on a page. Something like this possibly?

    <?php 
    echo esc_html( $current_user->Website ); ?>
    • This topic was modified 4 years, 8 months ago by m21353153.
Viewing 1 replies (of 1 total)
  • Thread Starter m21353153

    (@m21353153)

    This works, for anyone wondering:

    <?php 
    echo esc_html( $current_user->user_url ); ?>
    • This reply was modified 4 years, 8 months ago by bcworkz. Reason: code fixed
Viewing 1 replies (of 1 total)
  • The topic ‘how to “output” a customer’s url’ is closed to new replies.