Title: Shortcode in subject field
Last modified: June 18, 2018

---

# Shortcode in subject field

 *  Resolved [opaldigital](https://wordpress.org/support/users/opaldigital/)
 * (@opaldigital)
 * [7 years, 11 months ago](https://wordpress.org/support/topic/shortcode-in-subject-field/)
 * Hi,
    I would like to add user nickname to the subject field to welcome the user
   to a new feature.
 * I try to add [[user-nickname]] to the subject field but with no luck…
    It works
   fine in the text field.
 * Any suggestions?
 * Regards,
    Hilmar
 * The page I need help with: _[[log in](https://login.wordpress.org/?redirect_to=https%3A%2F%2Fwordpress.org%2Fsupport%2Ftopic%2Fshortcode-in-subject-field%2F%3Foutput_format%3Dmd&locale=en_US)
   to see the link]_

Viewing 1 replies (of 1 total)

 *  Plugin Author [Techspawn](https://wordpress.org/support/users/techspawn1/)
 * (@techspawn1)
 * [7 years, 10 months ago](https://wordpress.org/support/topic/shortcode-in-subject-field/#post-10424317)
 * Hello
 * Try by following way :
 * In the wp-email-users.php file, you need to use string replace function same 
   as we did in mail body and it will work.

Viewing 1 replies (of 1 total)

The topic ‘Shortcode in subject field’ is closed to new replies.

 * ![](https://s.w.org/plugins/geopattern-icon/wp-email-users_59bcfd.svg)
 * [WP Email Users](https://wordpress.org/plugins/wp-email-users/)
 * [Support Threads](https://wordpress.org/support/plugin/wp-email-users/)
 * [Active Topics](https://wordpress.org/support/plugin/wp-email-users/active/)
 * [Unresolved Topics](https://wordpress.org/support/plugin/wp-email-users/unresolved/)
 * [Reviews](https://wordpress.org/support/plugin/wp-email-users/reviews/)

## Tags

 * [shortcode](https://wordpress.org/support/topic-tag/shortcode/)
 * [Subject field](https://wordpress.org/support/topic-tag/subject-field/)

 * 1 reply
 * 2 participants
 * Last reply from: [Techspawn](https://wordpress.org/support/users/techspawn1/)
 * Last activity: [7 years, 10 months ago](https://wordpress.org/support/topic/shortcode-in-subject-field/#post-10424317)
 * Status: resolved