Changeset 47245 for trunk/tests/phpunit/tests/privacy/wpPrivacySendRequestConfirmationNotification.php
- Timestamp:
- 02/10/2020 07:55:51 PM (5 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/tests/phpunit/tests/privacy/wpPrivacySendRequestConfirmationNotification.php
r46586 r47245 153 153 154 154 /** 155 * Filter callback that modifies the recipient of the datarequest confirmation notification.155 * Filter callback that modifies the recipient of the user request confirmation notification. 156 156 * 157 157 * @since 4.9.8 158 158 * 159 159 * @param string $admin_email The email address of the notification recipient. 160 * @param WP_User_Request $request _dataThe request that is initiating the notification.160 * @param WP_User_Request $request The request that is initiating the notification. 161 161 * @return string Admin email address. 162 162 */ 163 public function modify_email_address( $admin_email, $request _data) {164 $admin_email = $request _data->email;163 public function modify_email_address( $admin_email, $request ) { 164 $admin_email = $request->email; 165 165 return $admin_email; 166 166 }
Note: See TracChangeset
for help on using the changeset viewer.