wpseek.com
A WordPress-centric search engine for devs and theme authors



wp_parse_str › WordPress Function

Since2.2.1
Deprecatedn/a
wp_parse_str ( $input_string, $result )
Parameters: (2)
  • (string) $input_string The string to be parsed.
    Required: Yes
  • (array) $result Variables will be stored in this array.
    Required: Yes
Defined at:
Codex:

Parses a string into variables to be stored in an array.



Source

function wp_parse_str( $input_string, &$result ) {
	parse_str( (string) $input_string, $result );

	/**
	 * Filters the array of variables derived from a parsed string.
	 *
	 * @since 2.2.1
	 *
	 * @param array $result The array populated with variables.
	 */
	$result = apply_filters( 'wp_parse_str', $result );
}