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 ); |