woocommerce_disable_password_change_notification

woocommerce_disable_password_change_notification

Appears in: , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , ,
Hook Type: filter

See hook in core

Displaying hooks found in version: woocommerce.9.5.1

apply_filters('woocommerce_disable_password_change_notification') is found 1 times:

  • /includes/shortcodes/class-wc-shortcode-my-account.php line 376
    		self::set_reset_password_cookie();
    		wc_set_customer_auth_cookie( $user->ID );
    
    		// phpcs:ignore WooCommerce.Commenting.CommentHooks.MissingHookComment
    		if ( ! apply_filters( 'woocommerce_disable_password_change_notification', false ) ) {
    			wp_password_change_notification( $user );
    		}
    	}
    
    	/**
    	 * Set or unset the cookie.