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

Popular posts from this blog

c# - Class in a list -

mysql - Django database model for my website -

ios - How to run a segue on itself OR another viewController -