Privacy: Improve docblocks for hooks and functions related to personal data export and erasure.

See #58833


git-svn-id: https://develop.svn.wordpress.org/trunk@56482 602fd350-edb4-49c9-b593-d223f7449a82
This commit is contained in:
John Blackbourn
2023-08-28 21:51:44 +00:00
parent 03290de92d
commit 7c254c5510
4 changed files with 46 additions and 17 deletions

View File

@@ -3807,7 +3807,12 @@ function wp_register_user_personal_data_exporter( $exporters ) {
* @since 5.4.0 Added 'Session Tokens' group to the export data.
*
* @param string $email_address The user's email address.
* @return array An array of personal data.
* @return array {
* An array of personal data.
*
* @type array[] $data An array of personal data arrays.
* @type bool $done Whether the exporter is finished.
* }
*/
function wp_user_personal_data_exporter( $email_address ) {
$email_address = trim( $email_address );