WordPress Hooks Explorer

Listing all hooks extracted WordPress Core


Details about wp_privacy_personal_data_erasers

Back to home

Files

Filename Hook Type Line Number PHP Doc
wp-admin/includes/privacy-tools.php apply_filters 950 /**
* Mark erasure requests as completed after processing is finished.
*
* This intercepts the Ajax responses to personal data eraser page requests, and
* monitors the status of a request. Once all of the processing has finished, the
* request is marked as completed.
*
* @since 4.9.6
*
* @see 'wp_privacy_personal_data_erasure_page'
*
* @param array $response The response from the personal data eraser for
* the given page.
* @param int $eraser_index The index of the personal data eraser. Begins
* at 1.
* @param string $email_address The email address of the user whose personal
* data this is.
* @param int $page The page of personal data for this eraser.
* Begins at 1.
* @param int $request_id The request ID for this personal data erasure.
* @return array The filtered response.
*/
function wp_privacy_process_personal_data_erasure_page( $response, $eraser_index, $email_address, $page, $request_id ) {
/*
* If the eraser response is malformed, don't attempt to consume it; let it
* pass through, so that the default Ajax processing will generate a warning
* to the user.
*/
wp-admin/includes/ajax-actions.php apply_filters 5106 /**
* Filters the array of personal data eraser callbacks.
*
* @since 4.9.6
*
* @param array $args {
* An array of callable erasers of personal data. Default empty array.
*
* @type array ...$0 {
* Array of personal data exporters.
*
* @type callable $callback Callable eraser that accepts an email address and
* a page and returns an array with boolean values for
* whether items were removed or retained and any messages
* from the eraser, as well as if additional pages are
* available.
* @type string $exporter_friendly_name Translated user facing friendly name for the eraser.
* }
* }
*/
wp-admin/includes/class-wp-privacy-data-removal-requests-list-table.php apply_filters 55 /**
* Actions column.
*
* @since 4.9.6
*
* @param WP_User_Request $item Item being shown.
* @return string Email column markup.
*/
wp-admin/includes/class-wp-privacy-data-removal-requests-list-table.php apply_filters 126 /**
* Next steps column.
*
* @since 4.9.6
*
* @param WP_User_Request $item Item being shown.
*/

Hook Parameters

Parameter Type Name Description
array $arg s {