Changeset 38125 for trunk/src/wp-includes/user.php
- Timestamp:
- 07/20/2016 07:32:05 PM (10 years ago)
- File:
-
- 1 edited
-
trunk/src/wp-includes/user.php (modified) (1 diff)
Legend:
- Unmodified
- Added
- Removed
-
trunk/src/wp-includes/user.php
r37985 r38125 2334 2334 2335 2335 /** 2336 * Initiate email notifications related to the creation of new users.2336 * Initiates email notifications related to the creation of new users. 2337 2337 * 2338 2338 * Notifications are sent both to the site admin and to the newly created user. 2339 2339 * 2340 2340 * @since 4.4.0 2341 * @since 4.6.0 The `$notify` parameter accepts 'user' for sending notification only to the user created. 2341 * @since 4.6.0 Converted the `$notify` parameter to accept 'user' for sending 2342 * notifications only to the user created. 2342 2343 * 2343 2344 * @param int $user_id ID of the newly created user. 2344 * @param string $notify Optional. Type of notification that should happen. Accepts 'admin' or an empty string 2345 * (admin only), 'user', or 'both' (admin and user). Default 'both'. 2345 * @param string $notify Optional. Type of notification that should happen. Accepts 'admin' 2346 * or an empty string (admin only), 'user', or 'both' (admin and user). 2347 * Default 'both'. 2346 2348 */ 2347 2349 function wp_send_new_user_notifications( $user_id, $notify = 'both' ) {
Note:
See TracChangeset
for help on using the changeset viewer.