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
229           /**
230            * Fires after a new user has been created.
231            *
232            * @since 4.4.0
233            *
234            * @param int    $user_id ID of the newly created user.
235            * @param string $notify  Type of notification that should happen. See wp_send_new_user_notifications()
236            *                        for more information on possible values.
237            */
238           do_action( 'edit_user_created_user', $user_id, $notify );
239      }
240      return $user_id;
241 }
243 /**
244  * Fetch a filtered list of user roles that the current user is
245  * allowed to edit.
246  *
247  * Simple function whose main purpose is to allow filtering of the