Changeset 34251 for trunk/src/wp-includes/user-functions.php
- Timestamp:
- 09/16/2015 10:18:33 PM (10 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/src/wp-includes/user-functions.php
r34218 r34251 2024 2024 update_user_option( $user_id, 'default_password_nag', true, true ); //Set up the Password change nag. 2025 2025 2026 /** 2027 * Fires after a new user registration has been recorded. 2028 * 2029 * @since 4.4.0 2030 * 2031 * @param int $user_id ID of the newly registered user. 2032 */ 2033 do_action( 'register_new_user', $user_id ); 2034 2035 return $user_id; 2036 } 2037 2038 /** 2039 * Initiate email notifications related to the creation of new users. 2040 * 2041 * Notifications are sent both to the site admin and to the newly created user. 2042 * 2043 * @since 4.4.0 2044 * 2045 * @param int $user_id ID of the newly created user. 2046 */ 2047 function wp_send_new_user_notifications( $user_id ) { 2026 2048 wp_new_user_notification( $user_id, null, 'both' ); 2027 2028 return $user_id;2029 2049 } 2030 2050
Note: See TracChangeset
for help on using the changeset viewer.