Tags system
How to retrieve any data or user input inside your WordPress forms with the use of the tags system and how to correctly use them in your WordPress forms.
What are {tags}?
How to use tags?
Example:
Dear {first_name} {last_name},
...Above will translate to:
Dear John Doe,
...Example:
Above will translate to:
Advanced tags
Setting and retrieving multiple values per options
Regular expressions
When and where can I use tags?
Predefined {tags} that are useful
Retrieve the total words, chars from a Textarea field:
Retrieve pre-uploaded file information from the file upload element:
Retrieve the current page or post title:
Retrieve the the current page or post ID:
Retrieve the the current post custom meta data:
Retrieve the IP-address of the submitter:
Retrieve Cart information (when WooCommerce is installed and activated):
Retrieve the total submission count (if form locker is used):
Retrieve the latest Contact Entry ID that was created for this form:
Retrieve the latest Contact Entry status that was created for this form:
Retrieve the latest Contact Entry ID that was created by the logged in user:
Retrieve the latest Contact Entry status that was created by the logged in user:
Retrieve the previous location (URL) in a session so it will not be subject to change after navigating away and returning back at later time:
Retrieve the previous location (URL) where the user navigated from before landing on the page with the form:
Retrieve current date values in server timestamp (UTC/GMT):
Retrieve current date values in server timestamp (Local time):
Retrieve current post URL (permalink):
Retrieve contact entry ID that was created after submitting form:
Retrieve author information based on the current page/post the form is placed on:
Retrieve values of logged in user:
Retrieve any option from the wp_options database table:
Retrieve any option from the wp_options database table that is of type Array, which allows you to retrieve a specific value from that array based on the provided index/key. When no index/key is provided a json representation of the array will be returned:
Retrieve the e-mail address of blog administrator:
Retrieve the weblog title; set in General Options:
Retrieve the tagline for your blog; set in General Options:
Retrieve the blog Charset:
Retrieve the date Format:
Retrieve the default post category; set in Writing Options:
Retrieve the blog's home web address; set in General Options:
Retrieve the WordPress web address; set in General Options:
Retrieve the current theme's name; set in Presentation:
Retrieve the start of the week:
Retrieve the default upload location; set in Miscellaneous Options:
Retrieve the posts per page:
Retrieve the posts per RSS feed:
Retrieve any field value submitted by the user:
Retrieve the field label for the field loop {loop_fields}:
Retrieve the field value for the field loop {loop_fields}:
Retrieve the loop anywhere in your email:
Retrieve timestamp from datepicker value:
Retrieve the current/total PDF pages (PDF Add-on):
Retrieve the generated PDF file label/name/url:
Last updated