Filters the search filters available in the admin order search. Can be used to add new or remove existing filters. When adding new filters, `woocommerce_hpos_generate_where_for_search_filter` should also be used to generate the WHERE clause for the new filter
$options
Sortie :
@param $options array List of available filters.
// Modifier la valeur avec le filtre 'woocommerce_hpos_admin_search_filters'
add_filter('woocommerce_hpos_admin_search_filters', 'ma_fonction_filtre', 10, 1);
function ma_fonction_filtre($options) {
// Modifier la valeur
return $options;
}
Chargement des actualités...