WP hooks navigation: Home/browse • Actions index • Filters index
To save our bandwidth, we show only a snippet of code around each occurence of the hook. View complete file in SVN (without highlighting).
The best way to understand what a hook does is to look at where it occurs in the source code.
do_action( "hook_name" )apply_filters( "hook_name", "what_to_filter" ).Remember, this hook may occur in more than one file. Moreover, the hook's context may change from version to version.
| Line | Code |
|---|---|
| 3013 | * capabilities required to process requests. Some networks may wish to |
| 3014 | * delegate those capabilities to a single-site admin, or a dedicated person |
| 3015 | * responsible for managing privacy requests. |
| 3016 | * |
| 3017 | * @since 4.9.6 |
| 3018 | * |
| 3019 | * @param string $admin_email The email address of the notification recipient. |
| 3020 | * @param WP_User_Request $request The request that is initiating the notification. |
| 3021 | */ |
| 3022 | $admin_email = apply_filters( 'user_request_confirmed_email_to', get_site_option( 'admin_email' ), $request ); |
| 3023 | |
| 3024 | $email_data = array( |
| 3025 | 'request' => $request, |
| 3026 | 'user_email' => $request->email, |
| 3027 | 'description' => $action_description, |
| 3028 | 'manage_url' => $manage_url, |
| 3029 | 'sitename' => wp_specialchars_decode( get_option( 'blogname' ), ENT_QUOTES ), |
| 3030 | 'siteurl' => home_url(), |
| 3031 | 'admin_email' => $admin_email, |