wp_privacy_personal_data_export_page

FILTER wp-admin\includes\ajax-actions.php (ligne 5113) github
Filters a page of personal data exporter data. Used to build the export report. Allows the export response to be consumed by destinations in addition to Ajax.

Paramètres

Entrée :
$response, $exporter_index, $email_address, $page, $request_id, $send_as_email, $exporter_key
Sortie :
@param array  $response        The personal data for the given exporter and page number.
@param int    $exporter_index  The index of the exporter that provided this data.
@param string $email_address   The email address associated with this personal data.
@param int    $page            The page number for this response.
@param int    $request_id      The privacy request post ID associated with this request.
@param bool   $send_as_email   Whether the final results of the export should be emailed to the user.
@param string $exporter_key    The key (slug) of the exporter that provided this data.

Utilisation

// Modifier la valeur avec le filtre 'wp_privacy_personal_data_export_page'
add_filter('wp_privacy_personal_data_export_page', 'ma_fonction_filtre', 10, 1);

function ma_fonction_filtre($response) {
    // Modifier la valeur
    return $response;
}

Actualités

Chargement des actualités...