get_search_query

FUNCTION wp-includes\general-template.php (ligne 4444) github
Filters settings that are passed into the code editor. Returning a falsey value will disable the syntax-highlighting code editor.

Paramètres

Entrée :
$escaped = true
Sortie :
@param array $settings The array of settings passed to the code editor.
@param array $args {
@param bool $escaped Whether the result is escaped. Default true.
@return string

Utilisation

// Utilisation de la fonction get_search_query
$result = get_search_query($escaped = true);

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

Actualités

Chargement des actualités...