Changeset 47109
- Timestamp:
- 01/24/2020 05:18:37 PM (5 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/src/wp-includes/ms-functions.php
r46804 r47109 159 159 * @param int $user_id ID of the user you're adding. 160 160 * @param string $role The role you want the user to have 161 * @return true|WP_Error 161 * @return true|WP_Error True on success or a WP_Error object if the user doesn't exist 162 * or could not be added. 162 163 */ 163 164 function add_user_to_blog( $blog_id, $user_id, $role ) { … … 1196 1197 * @since MU (3.0.0) 1197 1198 * 1198 * @param int $user_id User ID.1199 * @param int$password User password.1200 * @param array $meta Signup meta data.1199 * @param int $user_id User ID. 1200 * @param string $password User password. 1201 * @param array $meta Signup meta data. 1201 1202 */ 1202 1203 do_action( 'wpmu_activate_user', $user_id, $password, $meta ); … … 2141 2142 * @since MU (3.0.0) 2142 2143 * 2143 * @param array $details 2144 * @return true|WP_Error|void 2144 * @param array $details User details. 2145 * @return true|WP_Error|void True on success or a WP_Error object if the user doesn't exist 2146 * or could not be added. Void if $details array was not provided. 2145 2147 */ 2146 2148 function add_existing_user_to_blog( $details = false ) { … … 2154 2156 * @since MU (3.0.0) 2155 2157 * 2156 * @param int $user_id User ID.2157 * @param mixed$result True on success or a WP_Error object if the user doesn't exist2158 * or could not be added.2158 * @param int $user_id User ID. 2159 * @param true|WP_Error $result True on success or a WP_Error object if the user doesn't exist 2160 * or could not be added. 2159 2161 */ 2160 2162 do_action( 'added_existing_user', $details['user_id'], $result ); … … 2173 2175 * @see add_user_to_blog() 2174 2176 * 2175 * @param int $user_id2176 * @param mixed $passwordIgnored.2177 * @param array $meta2177 * @param int $user_id User ID. 2178 * @param string $password User password. Ignored. 2179 * @param array $meta Signup meta data. 2178 2180 */ 2179 2181 function add_new_user_to_blog( $user_id, $password, $meta ) {
Note: See TracChangeset
for help on using the changeset viewer.