Filters the array of personal data eraser callbacks.
$argsarray...$0array
$callbackcallable
$exporter_friendly_namestring
wp-admin/includes/ajax-actions.php:5218wp_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:955wp_privacy_process_personal_data_erasure_page() * 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.' ) );Introduced in 4.9.6. Unchanged from 6.7.7 through 7.1.0.
Signature, return type and hooks compared across 5 parsed releases.