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 |
---|---|
3015 | * capabilities required to process requests. Some networks may wish to |
3016 | * delegate those capabilities to a single-site admin, or a dedicated person |
3017 | * responsible for managing privacy requests. |
3018 | * |
3019 | * @since 4.9.6 |
3020 | * |
3021 | * @param string $admin_email The email address of the notification recipient. |
3022 | * @param WP_User_Request $request The request that is initiating the notification. |
3023 | */ |
3024 | $admin_email = apply_filters( 'user_request_confirmed_email_to', get_site_option( 'admin_email' ), $request ); |
3025 |
|
3026 | $email_data = array( |
3027 | 'request' => $request, |
3028 | 'user_email' => $request->email, |
3029 | 'description' => $action_description, |
3030 | 'manage_url' => $manage_url, |
3031 | 'sitename' => wp_specialchars_decode( get_option( 'blogname' ), ENT_QUOTES ), |
3032 | 'siteurl' => home_url(), |
3033 | 'admin_email' => $admin_email, |