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 |
|---|---|
| 500 | /** |
| 501 | * Filters the recipient of the personal data export email notification. |
| 502 | * Should be used with great caution to avoid sending the data export link to wrong emails. |
| 503 | * |
| 504 | * @since 5.3.0 |
| 505 | * |
| 506 | * @param string $request_email The email address of the notification recipient. |
| 507 | * @param WP_User_Request $request The request that is initiating the notification. |
| 508 | */ |
| 509 | $request_email = apply_filters( 'wp_privacy_personal_data_email_to', $request->email, $request ); |
| 510 | |
| 511 | $email_data = array( |
| 512 | 'request' => $request, |
| 513 | 'expiration' => $expiration, |
| 514 | 'expiration_date' => $expiration_date, |
| 515 | 'message_recipient' => $request_email, |
| 516 | 'export_file_url' => $export_file_url, |
| 517 | 'sitename' => $site_name, |
| 518 | 'siteurl' => $site_url, |