How do i get the user_id after login wordpress/woocommerce

asdriel

Member
Apr 26, 2019
198
17
18
www.bantu-2rsn.com
I have an application in codigniter where I only use a database table of the woocommerce order_items, where I only handle completed orders, now I want to get the user id as soon as it logs in to check my order_items table if the user has any orders completed , if he have finished order then open a popup to confirm the order, if he do not have finished order then log in normally.

I can not get the user id, any ideas for this case?
 

About us

  • Our community has been around for many years and pride ourselves on offering unbiased, critical discussion among people of all different backgrounds. We are working every day to make sure our community is one of the best.

Quick Navigation

User Menu