Changeset 35742 for trunk/src/wp-admin/includes/user.php
- Timestamp:
- 11/25/2015 10:37:35 PM (10 years ago)
- File:
-
- 1 edited
-
trunk/src/wp-admin/includes/user.php (modified) (2 diffs)
Legend:
- Unmodified
- Added
- Removed
-
trunk/src/wp-admin/includes/user.php
r35725 r35742 177 177 } else { 178 178 $user_id = wp_insert_user( $user ); 179 $notify = isset( $_POST['send_user_notification'] ) ? 'both' : 'admin'; 180 179 181 /** 180 182 * Fires after a new user has been created. … … 182 184 * @since 4.4.0 183 185 * 184 * @param int $user_id ID of the newly created user. 186 * @param int $user_id ID of the newly created user. 187 * @param string $notify Type of notification that should happen. See {@see wp_send_new_user_notifications()} 188 * for more information on possible values. 185 189 */ 186 do_action( 'edit_user_created_user', $user_id );190 do_action( 'edit_user_created_user', $user_id, $notify ); 187 191 } 188 192 return $user_id;
Note: See TracChangeset
for help on using the changeset viewer.