wp_password_change_notification_email

wp_password_change_notification_email

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

See hook in core

Displaying hooks found in version: wordpress-6.7.2

apply_filters('wp_password_change_notification_email') is found 1 times:

  • /wp-includes/pluggable.php line 2120
    2116
    2117
    2118
    2119
    2120
    2121
    2122
    2123
    2124
    2125
    2126
    * }
     * @param WP_User $user     User object for user whose password was changed.
     * @param string  $blogname The site title.
     */
    $wp_password_change_notification_email = apply_filters( 'wp_password_change_notification_email', $wp_password_change_notification_email, $user, $blogname );
     
    wp_mail(
        $wp_password_change_notification_email['to'],
        wp_specialchars_decode( sprintf( $wp_password_change_notification_email['subject'], $blogname ) ),
        $wp_password_change_notification_email['message'],
        $wp_password_change_notification_email['headers']