Menu Adam R Brown

WP hooks navigation: Home/browseActions indexFilters index

Source View: user_request_confirmed_email_to

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
4039       * capabilities required to process requests. Some networks may wish to
4040       * delegate those capabilities to a single-site admin, or a dedicated person
4041       * responsible for managing privacy requests.
4042       *
4043       * @since 4.9.6
4044       *
4045       * @param string          $admin_email The email address of the notification recipient.
4046       * @param WP_User_Request $request     The request that is initiating the notification.
4047       */
4048      $admin_email = apply_filters( 'user_request_confirmed_email_to', get_site_option( 'admin_email' ), $request );
4049
4050      $email_data = array(
4051           'request'     => $request,
4052           'user_email'  => $request->email,
4053           'description' => $action_description,
4054           'manage_url'  => $manage_url,
4055           'sitename'    => wp_specialchars_decode( get_option( 'blogname' ), ENT_QUOTES ),
4056           'siteurl'     => home_url(),
4057           'admin_email' => $admin_email,