Title: Pull dynamically or add manually user ID to shortcode
Last modified: October 11, 2022

---

# Pull dynamically or add manually user ID to shortcode

 *  [001122334455](https://wordpress.org/support/users/dkanika/)
 * (@dkanika)
 * [3 years, 7 months ago](https://wordpress.org/support/topic/pull-user-id-instead-to-shortcode/)
 * Hello,
 * 1) Is it possible to add user ID (instead of nice_name) into the shortcode to
   send the message to the user? Manually?
 * 2) Is it possible to automatically detect from the user profile page the nicename
   or user ID? The user ID is also displayed in the URL by the way
 * format:
    domain/xx/ID/profile
 * The problem is that
    Using {current-post-author}, {current-author}, {um-current-
   author} ALL returned errors because I (admin) am the author.
 * Thanks
    -  This topic was modified 3 years, 7 months ago by [001122334455](https://wordpress.org/support/users/dkanika/).
    -  This topic was modified 3 years, 7 months ago by [001122334455](https://wordpress.org/support/users/dkanika/).

Viewing 3 replies - 1 through 3 (of 3 total)

 *  Plugin Author [Shamim Hasan](https://wordpress.org/support/users/shamim51/)
 * (@shamim51)
 * [3 years, 7 months ago](https://wordpress.org/support/topic/pull-user-id-instead-to-shortcode/#post-16093468)
 * 1. Passing user id as `to` also should work with shortcode
    2. Which plugin you
   are using for this profile structure? You can ask their support to know how we
   can get user id in that profile page.
 *  Thread Starter [001122334455](https://wordpress.org/support/users/dkanika/)
 * (@dkanika)
 * [3 years, 7 months ago](https://wordpress.org/support/topic/pull-user-id-instead-to-shortcode/#post-16093479)
 * Hello, thanks for the reply.
 * 1) Manually adding the profile ID to shortcode works ONLY for the button shortcore,
   creating a submit form doesn’t seem to work
 * 2) I am using JetEngine. Can you tell me a more specific questions I should ask
   their support? I’ll open a tech support ticket, but I think I need a more specific
   question to ask them.
 * Also I plan to purchase PRO version, just need to make sure I can get this work
   in the first place.
 * Thanks
 *  Plugin Author [Shamim Hasan](https://wordpress.org/support/users/shamim51/)
 * (@shamim51)
 * [3 years, 7 months ago](https://wordpress.org/support/topic/pull-user-id-instead-to-shortcode/#post-16110781)
 * You can ask how to get user id of that user whose profile is being visited.

Viewing 3 replies - 1 through 3 (of 3 total)

The topic ‘Pull dynamically or add manually user ID to shortcode’ is closed to new
replies.

 * ![](https://ps.w.org/front-end-pm/assets/icon-256x256.gif?rev=2309447)
 * [Front End PM](https://wordpress.org/plugins/front-end-pm/)
 * [Frequently Asked Questions](https://wordpress.org/plugins/front-end-pm/#faq)
 * [Support Threads](https://wordpress.org/support/plugin/front-end-pm/)
 * [Active Topics](https://wordpress.org/support/plugin/front-end-pm/active/)
 * [Unresolved Topics](https://wordpress.org/support/plugin/front-end-pm/unresolved/)
 * [Reviews](https://wordpress.org/support/plugin/front-end-pm/reviews/)

 * 3 replies
 * 2 participants
 * Last reply from: [Shamim Hasan](https://wordpress.org/support/users/shamim51/)
 * Last activity: [3 years, 7 months ago](https://wordpress.org/support/topic/pull-user-id-instead-to-shortcode/#post-16110781)
 * Status: not resolved