Home Plugins mindvalley post get variable
Mindvalley Post & Get Variables logo

Mindvalley Post & Get Variables

by Mindvalley on WordPress.org

Lets you output a POST or GET variable in the page via shortcode.

(1)

Outputs $_POST or $_GET variable values using shortcodes.

Super duper uberly useful on tracking scripts on eCommerce thank you pages.

Example:

  • $_POST[’email’] > [post_var name=”email”]
  • $_GET[‘txn_id’] > [get_var name=”txn_id”]

For Array values :

  • $_POST[‘user’][’email’] > [post_var] name=”user[email]” [/post_var]
  • $_GET[‘user’][‘first_name’] > [get_var] name=”user[first_name]” [/get_var]
  • $_GET[‘user’][‘address’][‘line1’] > [get_var] name=”user[address][line1]” [/get_var]

Note: Remember to wrap the name attribute in double quotes (“).

Active installations20+
Weekly downloads
8-27.27%
Version1.0.6
Last updated12/28/2011
WordPress version3.0.0
Tested up to3.1.4
Tags
GETpostvariables