Switch language

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




wp_parse_str [ WordPress Function ]

wp_parse_str ( $string, $array )
Parameters:
  • (string) $string The string to be parsed.
  • (array) $array Variables will be stored in this array.
Uses:
Defined at:



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

Uses {@link http://www.php.net/parse_str parse_str()} and stripslashes if {@link http://www.php.net/magic_quotes magic_quotes_gpc} is on.

Source


<?php
function wp_parse_str$string, &$array ) {
    
parse_str$string$array );
    if ( 
get_magic_quotes_gpc() )
        
$array stripslashes_deep$array );
    
$array apply_filters'wp_parse_str'$array );
}
?>

Examples [ wp-snippets.com ]

Top Google zoekresultaten

Meer ...

Gebruikersdiscussies [ wordpress.org ]

0 User Note(s)

Nog geen één. Wees de eerste!

Nieuw toevoegen ...



HTML5 Powered with CSS3 / Styling, Performance & Integration, and Semantics