To easily get the last active time from users (under Woocommerce extended plugin) we can easily query from database using the meta_key of "wc_last_active" example query: select user_id, meta_value from wp_usermeta where meta_key= "wc_last_active" and user_id in (11111,112222); results: +-------------+------------------+ | user_id | meta_value | +-------------+-------------------+ | 11111 | 1556755200 | | 112222 | 1566518400 |
This is a blog that shares tips on Coding, Website, E-Commerce, Windows, Linux and IT related infos.