Support » Plugin: Better Notifications for WP » [user_url] is empty

  • Resolved mrmocha



    When a new user registers to my site, I want to include an email to the admin that has a link to the user’s profile in the admin.

    I have set up a notification for New User Registration – For Admin (although I’m sending it to a user with the Editor role) and I’m using [user_url] in the email, but it’s returning empty. Any idea why that might be?

    Thanks for any help.

    • This topic was modified 4 months, 2 weeks ago by mrmocha.
Viewing 3 replies - 1 through 3 (of 3 total)
  • Plugin Author bnfw


    Hi @mrmocha,
    Thanks for your message.

    The [user_url] shortcode is the link to the user’s website and as this isn’t added during registration, it will output blank.

    If you want to include a link to your user, you’ll need to reconstruct the WP Admin URL using the user’s ID.
    Something like this should work:
    <a href="[user_id]">Link to New User</a>

    Hope this helps.

    That works perfectly, thank you very much 🙂

    Plugin Author bnfw


    Hi @mrmocha,
    No probs!

    If you like BNFW and the support, please feel free to leave an honest review.

Viewing 3 replies - 1 through 3 (of 3 total)
  • You must be logged in to reply to this topic.