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
2910       * capabilities required to process requests. Some networks may wish to
2911       * delegate those capabilities to a single-site admin, or a dedicated person
2912       * responsible for managing privacy requests.
2913       *
2914       * @since 4.9.6
2915       *
2916       * @param string          $admin_email  The email address of the notification recipient.
2917       * @param WP_User_Request $request_data The request that is initiating the notification.
2918       */
2919      $admin_email = apply_filters( 'user_request_confirmed_email_to', get_site_option( 'admin_email' ), $request_data );
2920
2921      $email_data = array(
2922           'request'     => $request_data,
2923           'user_email'  => $request_data->email,
2924           'description' => $action_description,
2925           'manage_url'  => $manage_url,
2926           'sitename'    => wp_specialchars_decode( get_option( 'blogname' ), ENT_QUOTES ),
2927           'siteurl'     => home_url(),
2928           'admin_email' => $admin_email,