| 1685 | | wp_mail( get_option( 'admin_email' ), sprintf( __( '[%s] Password Changed' ), $blogname ), $message ); |
| | 1686 | $subject = sprintf( __( '[%s] Password Changed' ) ); |
| | 1687 | /** |
| | 1688 | * Filters the subject of the password change notification admin email. |
| | 1689 | * In pluggable function maybe missing |
| | 1690 | * |
| | 1691 | * @since 4.7.0 |
| | 1692 | * |
| | 1693 | * @param string $title Default email title. |
| | 1694 | * @param string $blogname title of blog. |
| | 1695 | */ |
| | 1696 | $subject = apply_filters( 'wp_password_change_notification_subject', $subject, $blogname ); |
| | 1697 | |
| | 1698 | /** |
| | 1699 | * Filters the message body of the password change notification admin email. |
| | 1700 | * In pluggable function maybe missing |
| | 1701 | * |
| | 1702 | * @since 4.7.0 |
| | 1703 | * |
| | 1704 | * @param string $message Default mail message. |
| | 1705 | * @param string $blogname title of blog. |
| | 1706 | */ |
| | 1707 | $message = apply_filters( 'wp_password_change_notification_message', $message, $blogname ); |
| | 1708 | /** |
| | 1709 | * Filters the password change notification admin email headers. |
| | 1710 | * In pluggable function maybe missing |
| | 1711 | * |
| | 1712 | * @since 4.7.0 |
| | 1713 | * |
| | 1714 | * @param string $message_headers Headers for the password change notification admin email. |
| | 1715 | * @param string $blogname title of blog. |
| | 1716 | */ |
| | 1717 | $message_headers = apply_filters( 'wp_password_change_notification_headers', '', $blogname ); |
| | 1718 | |
| | 1719 | wp_mail( get_option( 'admin_email' ), wp_specialchars_decode( $subject ), $message, $message_headers ); |
| 1726 | | @wp_mail( get_option( 'admin_email' ), sprintf( __( '[%s] New User Registration' ), $blogname ), $message ); |
| | 1760 | /** |
| | 1761 | * Filters the message body of the new user notify email send to site admin. |
| | 1762 | * In pluggable function maybe missing |
| | 1763 | * |
| | 1764 | * @since 4.7.0 |
| | 1765 | * |
| | 1766 | * @param string $message Default mail message. |
| | 1767 | * @param string $blogname title of blog. |
| | 1768 | * @param WP_User $user WP_User object. |
| | 1769 | */ |
| | 1770 | |
| | 1771 | $message = apply_filters( 'wp_new_user_notification_admin_message', $message, $blogname, $user ); |
| | 1772 | /* translators: %s: site title */ |
| | 1773 | $subject = sprintf( __( '[%s] New User Registration' ), $blogname ); |
| | 1774 | /** |
| | 1775 | * Filters the subject of the new user notify email send to site admin. |
| | 1776 | * In pluggable function maybe missing |
| | 1777 | * |
| | 1778 | * @since 4.7.0 |
| | 1779 | * |
| | 1780 | * @param string $title Default email title. |
| | 1781 | * @param string $blogname title of blog. |
| | 1782 | * @param WP_User $user WP_User object. |
| | 1783 | */ |
| | 1784 | |
| | 1785 | $subject = apply_filters( 'wp_new_user_notification_admin_subject', $subject, $blogname, $user ); |
| | 1786 | |
| | 1787 | /** |
| | 1788 | * Filters the new user notify send to site admin email headers. |
| | 1789 | * In pluggable function maybe missing |
| | 1790 | * |
| | 1791 | * @since 4.7.0 |
| | 1792 | * |
| | 1793 | * @param string $message_headers Headers for the new user notify send to site admin email. |
| | 1794 | * @param string $blogname title of blog. |
| | 1795 | */ |
| | 1796 | $message_headers = apply_filters( 'wp_new_user_notification_admin_headers', '', $blogname ); |
| | 1797 | |
| | 1798 | @wp_mail( get_option( 'admin_email' ), wp_specialchars_decode( $subject ), $message, $message_headers ); |
| 1754 | | wp_mail($user->user_email, sprintf(__('[%s] Your username and password info'), $blogname), $message); |
| | 1828 | /** |
| | 1829 | * Filters the message body of the new user email message. |
| | 1830 | * In pluggable function maybe missing |
| | 1831 | * |
| | 1832 | * @since 4.7.0 |
| | 1833 | * |
| | 1834 | * @param string $message Default mail message. |
| | 1835 | * @param string $blogname title of blog. |
| | 1836 | * @param string $key User activation key. |
| | 1837 | * @param WP_User $user WP_User object. |
| | 1838 | */ |
| | 1839 | $message = apply_filters( 'wp_new_user_notification_message', $message, $blogname, $key, $user ); |
| | 1840 | |
| | 1841 | /* translators: %s: site title */ |
| | 1842 | $subject = sprintf( __( '[%s] New User Registration' ), $blogname ); |
| | 1843 | /** |
| | 1844 | * Filters the subject of the new user email. |
| | 1845 | * In pluggable function maybe missing |
| | 1846 | * |
| | 1847 | * @since 4.7.0 |
| | 1848 | * |
| | 1849 | * @param string $subject Default email title. |
| | 1850 | * @param string $blogname title of blog. |
| | 1851 | * @param WP_User $user WP_User object. |
| | 1852 | */ |
| | 1853 | $subject = apply_filters( 'wp_new_user_notification_subject', $subject, $blogname, $user ); |
| | 1854 | /** |
| | 1855 | * Filters the new user notify email headers. |
| | 1856 | * In pluggable function maybe missing |
| | 1857 | * |
| | 1858 | * @since 4.7.0 |
| | 1859 | * |
| | 1860 | * @param string $message_headers Headers for the new user notify email. |
| | 1861 | * @param string $blogname title of blog. |
| | 1862 | * @param WP_User $user WP_User object. |
| | 1863 | */ |
| | 1864 | $message_headers = apply_filters( 'wp_new_user_notification_headers', '', $blogname, $user ); |
| | 1865 | |
| | 1866 | wp_mail( $user->user_email, wp_specialchars_decode( $subject ), $message, $message_headers ); |