wp_privacy_personal_data_erasure_page

FILTER wp-admin\includes\ajax-actions.php (ligne 5349) github
Filters a page of personal data eraser data. Allows the erasure response to be consumed by destinations in addition to Ajax.

Paramètres

Entrée :
$response, $eraser_index, $email_address, $page, $request_id, $eraser_key
Sortie :
@param array  $response        {
@param int    $eraser_index    The index of the eraser 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 string $eraser_key      The key (slug) of the eraser that provided this data.

Utilisation

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

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

Actualités

Chargement des actualités...