Filters stopwords used when parsing search terms.
$stopwords
Sortie :
@param string[] $stopwords Array of stopwords.
// Modifier la valeur avec le filtre 'wp_search_stopwords'
add_filter('wp_search_stopwords', 'ma_fonction_filtre', 10, 1);
function ma_fonction_filtre($stopwords) {
// Modifier la valeur
return $stopwords;
}
Chargement des actualités...