Filters the category metabox search threshold, for when to render the typeahead field.
5
Sortie :
@param number $threshold The default threshold. @returns number The threshold that will be used.
// Modifier la valeur avec le filtre 'woocommerce_product_category_metabox_search_threshold'
add_filter('woocommerce_product_category_metabox_search_threshold', 'ma_fonction_filtre', 10, 1);
function ma_fonction_filtre(5) {
// Modifier la valeur
return 5;
}
Chargement des actualités...