URL query parameter. Reads a value from the page URL. Array parameters are joined with ", ". Escaped with esc_html() by default.
| Product | GravityView |
|---|
| Requires | GravityView 1.15 or later |
|---|
| Needs an entry | No |
|---|
Parameters
| Name | Type | Required | Default | Description |
|---|
| Query parameter name | text | Yes | — | The name in the page URL, not its value: on a page ending ?search=widgets, {get:search} shows widgets. The value is escaped before it is shown. |
Examples
Rendered by real Gravity Forms and GravityKit PHP against a test entry.
| Merge tag | Output |
|---|
{get:search} | rocket science |