Uses
Uses | Description |
---|---|
wp-includes/formatting.php: wp_parse_str | Filters the array of variables derived from a parsed string. |
wp-includes/plugin.php: apply_filters() | Calls the callback functions that have been added to a filter hook. |
Parses a string into variables to be stored in an array.
(string) (Required) The string to be parsed.
(array) (Required) Variables will be stored in this array.
File: wp-includes/formatting.php
function wp_parse_str( $string, &$array ) { parse_str( $string, $array ); /** * Filters the array of variables derived from a parsed string. * * @since 2.3.0 * * @param array $array The array populated with variables. */ $array = apply_filters( 'wp_parse_str', $array ); }
Version | Description |
---|---|
2.2.1 | Introduced. |
© 2003–2019 WordPress Foundation
Licensed under the GNU GPLv2+ License.
https://developer.wordpress.org/reference/functions/wp_parse_str