woocommerce_hpos_admin_search_filters

FILTER woocommerce\src\Internal\Admin\Orders\ListTable.php (ligne 1809) github
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

Paramètres

Entrée :
$options
Sortie :
@param $options array List of available filters.

Utilisation

// 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;
}

Actualités

Chargement des actualités...