Skip to content

Instantly share code, notes, and snippets.

@jentanbernardus
Last active January 6, 2023 14:18
Show Gist options
  • Star 2 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save jentanbernardus/6008910 to your computer and use it in GitHub Desktop.
Save jentanbernardus/6008910 to your computer and use it in GitHub Desktop.
WordPress: Disable new user and password change notification
<?php
if ( !function_exists('wp_new_user_notification') ) {
function wp_new_user_notification( ) {}
}
if ( !function_exists( 'wp_password_change_notification' ) ) {
function wp_password_change_notification() {}
}
?>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment