WordPress at a glance
filter is not described

wp_privacy_personal_data_erasers filter-hook . WP 4.9.6

Filters the array of personal data eraser callbacks.

Usage

add_filter( 'wp_privacy_personal_data_erasers', 'filter_function_name_3947' );
function filter_function_name_3947( $args ){
	// filter...

	return $args;
}
$args(array)

An array of callable erasers of personal data.

  • { (array)
    Array of personal data exporters.

    @type string $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.

Default: empty array

Where the hook is called

wp_ajax_wp_privacy_erase_personal_data()
wp_privacy_process_personal_data_erasure_page()
WP_Privacy_Data_Removal_Requests_Table::column_email()
WP_Privacy_Data_Removal_Requests_Table::column_next_steps()
wp-admin/includes/ajax-actions.php 4272
$erasers = apply_filters( 'wp_privacy_personal_data_erasers', array() );
wp-admin/includes/user.php 934
$erasers        = apply_filters( 'wp_privacy_personal_data_erasers', array() );
wp-admin/includes/user.php 1512
$erasers       = apply_filters( 'wp_privacy_personal_data_erasers', array() );
wp-admin/includes/user.php 1553
$erasers       = apply_filters( 'wp_privacy_personal_data_erasers', array() );

Where the hook is used (in WP core)

wp-includes/default-filters.php 353
add_filter( 'wp_privacy_personal_data_erasers', 'wp_register_comment_personal_data_eraser' );