Stop WordPress emailing the site admin every time someone registers, while new users still get their own welcome email.
add_filter( 'wp_send_new_user_notification_to_admin', '__return_false' );
Always add PHP to a staging site first, or have FTP or file manager access ready, so you can undo it if something goes wrong.
On stores and membership sites, a “New User Registration” email for every sign-up quickly floods the admin inbox. This one line turns those emails off.
Since WordPress 6.1, wp_send_new_user_notification_to_admin decides whether the admin gets the new user email. Returning false stops it. The new user’s own email is controlled separately and isn’t affected.
Register a test user. The new user should get their email, and the admin should not.