Menu Adam R Brown

WP hooks navigation: Home/browseActions indexFilters index

Source View: wp_privacy_personal_data_email_to

To save our bandwidth, we show only a snippet of code around each occurence of the hook. View complete file in SVN (without highlighting).

Understanding Source Code

The best way to understand what a hook does is to look at where it occurs in the source code.

Remember, this hook may occur in more than one file. Moreover, the hook's context may change from version to version.

Source View

Line Code
616      /**
617       * Filters the recipient of the personal data export email notification.
618       * Should be used with great caution to avoid sending the data export link to wrong emails.
619       *
620       * @since 5.3.0
621       *
622       * @param string          $request_email The email address of the notification recipient.
623       * @param WP_User_Request $request       The request that is initiating the notification.
624       */
625      $request_email = apply_filters( 'wp_privacy_personal_data_email_to', $request->email, $request );
626
627      $email_data = array(
628           'request'           => $request,
629           'expiration'        => $expiration,
630           'expiration_date'   => $expiration_date,
631           'message_recipient' => $request_email,
632           'export_file_url'   => $export_file_url,
633           'sitename'          => $site_name,
634           'siteurl'           => $site_url,