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 |
|---|---|
| 3220 | * capabilities required to process requests. Some networks may wish to |
| 3221 | * delegate those capabilities to a single-site admin, or a dedicated person |
| 3222 | * responsible for managing privacy requests. |
| 3223 | * |
| 3224 | * @since 4.9.6 |
| 3225 | * |
| 3226 | * @param string $admin_email The email address of the notification recipient. |
| 3227 | * @param WP_User_Request $request The request that is initiating the notification. |
| 3228 | */ |
| 3229 | $admin_email = apply_filters( 'user_request_confirmed_email_to', get_site_option( 'admin_email' ), $request ); |
| 3230 | |
| 3231 | $email_data = array( |
| 3232 | 'request' => $request, |
| 3233 | 'user_email' => $request->email, |
| 3234 | 'description' => $action_description, |
| 3235 | 'manage_url' => $manage_url, |
| 3236 | 'sitename' => wp_specialchars_decode( get_option( 'blogname' ), ENT_QUOTES ), |
| 3237 | 'siteurl' => home_url(), |
| 3238 | 'admin_email' => $admin_email, |