Changeset 34251 for trunk/src/wp-admin/network/user-new.php
- Timestamp:
- 09/16/2015 10:18:33 PM (9 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/src/wp-admin/network/user-new.php
r34218 r34251 52 52 $add_user_errors = new WP_Error( 'add_user_fail', __( 'Cannot add user.' ) ); 53 53 } else { 54 wp_new_user_notification( $user_id, null, 'both' ); 54 /** 55 * Fires after a new user has been created via the network user-new.php page. 56 * 57 * @since 4.4.0 58 * 59 * @param int $user_id ID of the newly created user. 60 */ 61 do_action( 'network_user_new_created_user', $user_id ); 55 62 wp_redirect( add_query_arg( array('update' => 'added'), 'user-new.php' ) ); 56 63 exit;
Note: See TracChangeset
for help on using the changeset viewer.