WooCommerce : Disable Automatic Login After Registration.

Code

WooCommerce : Disable Automatic Login After Registration.

When we enable customer registration on My Account page, We will know that when new user is register it’s automatically logged in .
it need to change when we need to manually approve each user.
In that case we have to stop this Programmatically.
we can simply use 'woocommerce_registration_auth_new_customer' filter for that.

add_filter( 'woocommerce_registration_auth_new_customer', '__return_false' );

Enjoy

Shiv kumawat

Executive Director & CEO

"Shiv kumawat is the Executive Director and CEO of Eoxys It Solution LLP and the strategic mind behind the company"s growth. His expertise in operational efficiency and team leadership empowers his colleagues to excel and innovate.”

Latest Posts

AI Powered Event Planning Apps 2026 The Ultimate Interactive Guide

  AI Powered Event Planning Apps 2026 The Ultimate Interactive Guide Why Event Apps Need AI Now   Event planners…

Shafeeq Khan
January 23, 2026

The AI Tutoring Revolution 2026 Inside the $8.7B EdTech Unicorn That 10x’d Learning Outcomes

  The AI Tutoring Revolution 2026 Inside the $8.7B EdTech Unicorn That 10x’d Learning Outcomes Case Study:EduMatch AI From $0…

Shafeeq Khan
January 22, 2026

AI in Restaurant & Food Delivery Apps 2026 Smart Ordering, Dynamic Menus & Kitchen Automation

  AI in Restaurant & Food Delivery Apps 2026 Smart Ordering, Dynamic Menus & Kitchen Automation The Dawn of Intelligent…

Shafeeq Khan
January 21, 2026
, ,

Leave a Reply

Your email address will not be published. Required fields are marked *