Filter the product attribute terms search results.
$terms, $taxonomy
Sortie :
@param array $terms The list of matched terms. @param string $taxonomy The terms taxonomy.
// Modifier la valeur avec le filtre 'woocommerce_json_search_found_product_attribute_terms'
add_filter('woocommerce_json_search_found_product_attribute_terms', 'ma_fonction_filtre', 10, 1);
function ma_fonction_filtre($terms) {
// Modifier la valeur
return $terms;
}
Chargement des actualités...