wp_reset_vars


wp_reset_vars ( $vars )

Parameters:
  • (array) vars An array of globals to reset.
Defined at:

Description

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 '' if neither is defined.

Related Functions

wp_set_wpdb_vars, wp_reset_query, wp_register, wp_reset_postdata, wp_fix_server_vars

Top Google Results

User discussions

wpseek mobile