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. } }
...$0arrayArray of personal data exporters.$callbackcallableCallable 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_namestringTranslated user facing friendly name for the eraser.
Fired at · 4
wp-admin/includes/ajax-actions.php:5191wp_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:949wp_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.
Signature, return type and hooks compared across 5 parsed releases.
About this page
- Parsed data
- Generated from the wordpress-develop 7.0.4 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.