Skip Navigation

[Resolved] Unable to use wpv-user shortcode as a placeholder in messages

This thread is resolved. Here is a description of the problem and solution.

Problem: How to use [wpv-user] shortcode inside form email notification

Solution: You should use the [wpv-user] shrotcode with placeholder that returns the ID.

You can find the proposed solution in this case with the following reply: =>

Relevant Documentation:

This is the technical support forum for Toolset - a suite of plugins for developing WordPress sites without writing PHP.

Everyone can read this forum, but only Toolset clients can post in it. Toolset support works 6 days per week, 19 hours per day.

This topic contains 4 replies, has 2 voices.

Last updated by himanshuS 3 months ago.

Assigned support staff: Minesh.


I am creating a user with the CRED form and then sending a notification to the user about registration. I am using a few views shortcodes to pass information in the email and all works fine except for the user's first name and user's last name.

What could I be missing?

Explainer video here: hidden link



Languages: English (English )

Timezone: Asia/Kolkata (GMT+05:30)

Hello. Thank you for contacting the Toolset support.

Toolset Forms offers the placeholders that you should use to display the user first name and last name.

For example:





I understand the placeholders. My question is why would the shortcode not work when I created a user using the cred form? And if does not work, then why is that option even there on the form?




Languages: English (English )

Timezone: Asia/Kolkata (GMT+05:30)

As suggested, either you should go with the placeholders I shared.

if you insist to go with shortcode, following should work:

[wpv-user field="user_firstname" id="%%USER_USERID%%"]


[wpv-user field="user_lastname" id="%%USER_USERID%%"]

As when form is submitted there will be no User ID available, that is why we need to use placeholder.


My issue is resolved now. Thank you!