Changeset 41324
- Timestamp:
- 08/30/2017 07:52:59 PM (7 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/src/wp-includes/ms-functions.php
r41289 r41324 2111 2111 $result = add_user_to_blog( $blog_id, $details[ 'user_id' ], $details[ 'role' ] ); 2112 2112 2113 if ( ! is_wp_error( $result ) ) { 2114 /** 2115 * Fires immediately after an existing user is added to a site. 2116 * 2117 * @since MU (3.0.0) 2118 * 2119 * @param int $user_id User ID. 2120 * @param mixed $result True on success or a WP_Error object if the user doesn't exist. 2121 */ 2122 do_action( 'added_existing_user', $details['user_id'], $result ); 2123 } 2113 /** 2114 * Fires immediately after an existing user is added to a site. 2115 * 2116 * @since MU (3.0.0) 2117 * 2118 * @param int $user_id User ID. 2119 * @param mixed $result True on success or a WP_Error object if the user doesn't exist 2120 * or could not be added. 2121 */ 2122 do_action( 'added_existing_user', $details['user_id'], $result ); 2124 2123 2125 2124 return $result;
Note: See TracChangeset
for help on using the changeset viewer.