Viewing 3 replies - 1 through 3 (of 3 total)
  • Sorry for the delay in responding to you. What exactly are you trying to do? The user should not be able to sign in without approval.

    Thread Starter hf74

    (@hf74)

    I am having this run in conjunction with woocommerce, I’m running a site with wholesale pricing, in addition there are several levels of pricing, so I need to manually approve users and put them into their appropriate pricing group, I have set pricing to be hidden from users who are not logged in. However when a new user registers from the woocommerce my accounts page they are logged in automatically until they log out, even though they are technically still pending in “new user approve” I was looking for a way to log them out right after they register so they don’t see pricing (especially since they would see wrong pricing).

    It would be a great feature to have in the plug-in. For now I have written something in my functions.php to check for both logged in and user status before returning pricing, It’s working for me.

    I’m looking into this since the experience should be the same despite having other plugins, such as WooCommerce activated.

Viewing 3 replies - 1 through 3 (of 3 total)
  • The topic ‘Get user status’ is closed to new replies.