search_form_format

FILTER wp-includes\general-template.php (ligne 304) github
Filters the HTML format of the search form.

Paramètres

Entrée :
$format, $args
Sortie :
@param string $format The type of markup to use in the search form.
@param array  $args   The array of arguments for building the search form.

Utilisation

// Modifier la valeur avec le filtre 'search_form_format'
add_filter('search_form_format', 'ma_fonction_filtre', 10, 1);

function ma_fonction_filtre($format) {
    // Modifier la valeur
    return $format;
}

Actualités

Chargement des actualités...