Menu Adam R Brown

WP hooks navigation: Home/browseActions indexFilters index

Source View: edit_user_created_user

To save our bandwidth, we show only a snippet of code around each occurence of the hook. View complete file in SVN (without highlighting).

Understanding Source Code

The best way to understand what a hook does is to look at where it occurs in the source code.

Remember, this hook may occur in more than one file. Moreover, the hook's context may change from version to version.

Source View

Line Code
181           /**
182             * Fires after a new user has been created.
183             *
184             * @since 4.4.0
185             *
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.
189             */
190           do_action( 'edit_user_created_user', $user_id, $notify );
191      }
192      return $user_id;
193 }
195 /**
196  * Fetch a filtered list of user roles that the current user is
197  * allowed to edit.
198  *
199  * Simple function who's main purpose is to allow filtering of the