Site icon Hip-Hop Website Design and Development

The right way to insert present consumer ID in a shortcode?

I’ve a shortcode from a plug-in known as Pods that’s used like

[pods-form name="user" id="" fields="my_field, my_field_2, my_field_3"] 

Parameter identify incorporates the identify of the customized submit sort (right here: enhanced the WP consumer submit sort). Parameter id now shall obtain the consumer ID of the at present logged in consumer. The web page containing this shortcode is simply out there to logged-in customers. The right way to add the present consumer ID as a variable to this shortcode?

I am searching for one thing like this

[pods-form name="user" id="{@user_ID}" fields="my_field, my_field_2, my_field_3"]