wp_parse_str

FUNCTION wp-includes\formatting.php (ligne 5166) github
Parses a string into variables to be stored in an array.

Paramètres

Entrée :
$input_string, &$result
Sortie :
@param string $input_string The string to be parsed.
@param array  $result       Variables will be stored in this array.

Utilisation

// Utilisation de la fonction wp_parse_str
$result = wp_parse_str($input_string, &$result);

if ($result) {
    // Votre logique ici
}

Actualités

Chargement des actualités...