wppaste
WordPress

apply_filters( 'wp_privacy_personal_data_erasers', array $args )

Since
4.9.6
Filters the array of personal data eraser callbacks.

Parameters

$argsarray
{ 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 number, 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. } }
  • ...$0array

    Array of personal data exporters.
    • $callbackcallable

      Callable eraser that accepts an email address and a page number, 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.
    • $exporter_friendly_namestring

      Translated user facing friendly name for the eraser.

Fired at · 4

  • wp-admin/includes/ajax-actions.php:5179wp_ajax_wp_privacy_erase_personal_data()
  • wp-admin/includes/class-wp-privacy-data-removal-requests-list-table.php:55WP_Privacy_Data_Removal_Requests_List_Table::column_email()
  • wp-admin/includes/class-wp-privacy-data-removal-requests-list-table.php:126WP_Privacy_Data_Removal_Requests_List_Table::column_next_steps()
  • wp-admin/includes/privacy-tools.php:948wp_privacy_process_personal_data_erasure_page()

Source

	 *                                                from the eraser, as well as if additional pages are	 *                                                available.	 *         @type string   $exporter_friendly_name Translated user facing friendly name for the eraser.	 *     }	 * }	 */	$erasers = apply_filters( 'wp_privacy_personal_data_erasers', array() ); 	// Do we have any registered erasers?	if ( 0 < count( $erasers ) ) { 		if ( $eraser_index < 1 ) {			wp_send_json_error( __( 'Eraser index cannot be less than one.' ) );

History

Introduced in 4.9.6. Unchanged from 6.7.7 through 7.1.0.

  1. 6.7.7
  2. 6.8.8
  3. 6.9.7
  4. 7.0.4
  5. 7.1.0

Signature, return type and hooks compared across 5 parsed releases.

About this page

Parsed data
Generated from the wordpress-develop 6.8.8 tag, and regenerated for each WordPress release so it tracks the code rather than a snapshot of it.
Corrections
Something wrong on this page? Report it and it gets fixed in the next regeneration.