Learn

get_post

Retrieve GET or POST variables.

{{ get_post:[variable] }}

Displays the value of the POST variable matching [variable] if it’s set, otherwise displays the value of the GET variable matching [variable], otherwise returns false.

Sample Usage

<p>
    Your ID is `{{ get_post:id }}`.
</p>

Parameters

There are no parameters for this tag.

This article was last updated on September 13th, 2016. Find an error? Please let us know!