wpseek.com
A WordPress-centric search engine for devs and theme authors
wp_reset_vars › WordPress Function
Since2.0.0
Deprecatedn/a
› wp_reset_vars ( $vars )
Parameters: |
|
Defined at: |
|
Codex: |
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_reset_postdata, wp_register, wp_fix_server_vars