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 |
|---|---|
| 4226 | |
| 4227 | /** |
| 4228 | * Filters the recipient of the data erasure fulfillment notification. |
| 4229 | * |
| 4230 | * @since 4.9.6 |
| 4231 | * |
| 4232 | * @param string $user_email The email address of the notification recipient. |
| 4233 | * @param WP_User_Request $request The request that is initiating the notification. |
| 4234 | */ |
| 4235 | $user_email = apply_filters( 'user_erasure_fulfillment_email_to', $request->email, $request ); |
| 4236 | |
| 4237 | $email_data = array( |
| 4238 | 'request' => $request, |
| 4239 | 'message_recipient' => $user_email, |
| 4240 | 'privacy_policy_url' => get_privacy_policy_url(), |
| 4241 | 'sitename' => wp_specialchars_decode( get_option( 'blogname' ), ENT_QUOTES ), |
| 4242 | 'siteurl' => home_url(), |
| 4243 | ); |
| 4244 | |