Menu Adam R Brown

WP hooks navigation: Home/browseActions indexFilters index

Source View: user_erasure_fulfillment_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
4016
4017      /**
4018       * Filters the recipient of the data erasure fulfillment notification.
4019       *
4020       * @since 4.9.6
4021       *
4022       * @param string          $user_email The email address of the notification recipient.
4023       * @param WP_User_Request $request    The request that is initiating the notification.
4024       */
4025      $user_email = apply_filters( 'user_erasure_fulfillment_email_to', $request->email, $request );
4026
4027      $email_data = array(
4028           'request'            => $request,
4029           'message_recipient'  => $user_email,
4030           'privacy_policy_url' => get_privacy_policy_url(),
4031           'sitename'           => wp_specialchars_decode( get_option( 'blogname' ), ENT_QUOTES ),
4032           'siteurl'            => home_url(),
4033      );
4034