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