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

ios - RestKit 0.20 — CoreData: error: Failed to call designated initializer on NSManagedObject class (again) -

java - Digest auth with Spring Security using javaconfig -

laravel - PDOException in Connector.php line 55: SQLSTATE[HY000] [1045] Access denied for user 'root'@'localhost' (using password: YES) -