Registers the personal data exporter for media.
Parameters
$exporters
array[]required- An array of personal data exporters, keyed by their ID.
Source
*
* @param array[] $exporters An array of personal data exporters, keyed by their ID.
* @return array[] Updated array of personal data exporters.
*/
function wp_register_media_personal_data_exporter( $exporters ) {
$exporters['wordpress-media'] = array(
'exporter_friendly_name' => __( 'WordPress Media' ),
'callback' => 'wp_media_personal_data_exporter',
User Contributed Notes
You must log in before being able to contribute a note or feedback.