asdriel
Member
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?
I can not get the user id, any ideas for this case?