Menu Adam R Brown

WP hooks navigation: Home/browseActions indexFilters index

Source View: deleted_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
203      clean_user_cache( $user );
204
205      /**
206       * Fires after the user is deleted from the network.
207       *
208       * @since 2.8.0
209       *
210       * @param int $id ID of the user that was deleted from the network.
211       */
212      do_action( 'deleted_user', $id );
213
214      return true;
215 }
216
217 function update_option_new_admin_email( $old_value, $value ) {
218      $email = get_option( 'admin_email' );
219      if ( $value == get_option( 'admin_email' ) || !is_email( $value ) )
220           return;
221