Provides an opportunity to modify the query arguments used in the (Custom Order Table-powered) order list table.
$this->order_query_args
Sortie :
@param array $query_args Arguments to be passed to `wc_get_orders()`.
// Modifier la valeur avec le filtre 'woocommerce_order_list_table_prepare_items_query_args'
add_filter('woocommerce_order_list_table_prepare_items_query_args', 'ma_fonction_filtre', 10, 1);
function ma_fonction_filtre($this->order_query_args) {
// Modifier la valeur
return $this->order_query_args;
}
Chargement des actualités...