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.7.1

apply_filters('woocommerce_disable_password_change_notification') is found 1 times:

  • /includes/shortcodes/class-wc-shortcode-my-account.php line 389
    385
    386
    387
    388
    389
    390
    391
    392
    393
    394
    395
        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.