跳到内容

Mindvalley Post & Get Variables

v1.0.6

Mindvalley · 2011年5月27日 上架

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

正在使用
10+
评分
5.0 / 5
累计下载
2,708
最近更新
2011年12月28日
1 条评价需要 WordPress 3.0.0+已测试到 3.1.4

贡献者

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 (“).

Plums

按场景查找 WordPress 插件。安装量、评分和兼容版本来自官方目录。

导航

说明

WordPress 是 WordPress Foundation 的商标。本站与 WordPress Foundation、Automattic 没有隶属关系。这里不托管插件文件,下载和安装以 WordPress.org 上的页面为准。

© 2026 Plums