In some case you might need to retrieve the current post, page or logged in user data inside your form.
This is possible with the use of so called Predefined tags.
These tags hold information about your WordPress site, currently logged in user, current post or any other useful data that you might want to use.
Let's say that you wish to return the current page ID, Title, Author or perhaps some custom meta data. To accomplish this you can simply add a Text field or Hidden field and set the according tag as it's Default value. The below example would retrieve the current post permalink. Upon page load this field will then hold that specific data. Click here to view all available predefined tags.

Comments
0 comments
Please sign in to leave a comment.