Function: wp_user_personal_data_exporter

wp_user_personal_data_exporter( string $email_address )

Finds and exports personal data associated with an email address from the user and user_meta table.

Parameters

Name Type(s) Default Value Description
$email_address string

The users email address.

Returns

array

An array of personal data.

WordPress Developer Newsletter

Stay on top of the latest WordPress API changes, developer tool updates, security alerts and more.