php - How to get product by tag using Woocommerce API Client -
i'm trying products woocommerce using api rest client following :
$args = array( 'filter[limit]' => 3, 'filter[tags]' => 'today', 'filter[orderby]' => 'date', 'filter[order]' => 'desc' ); return $this->client->products->get('', $args);
i got list of prods, need ones tag 'todays'
thanks.
Comments
Post a Comment