wpseek.com
WordPress开发者和主题制作者的搜索引擎
wp_reset_vars › WordPress Function
Since2.0.0
已弃用n/a
› wp_reset_vars ( $vars )
| 参数: |
|
| 定义在: |
|
| 文档: |
Resets global variables based on `$_GET` and `$_POST`.
This function resets global variables based on the names passed in the$vars array to the value of $_POST[$var] or $_GET[$var] or an
empty string if neither is defined.Related Functions: wp_set_wpdb_vars, wp_reset_query, wp_register, wp_reset_postdata, wp_fix_server_vars