WordPress как на ладони
Недорогой хостинг для сайтов на WordPress: wordpress.jino.ru
фильтр не описан

wp_privacy_personal_data_erasers хук-фильтр . WP 4.9.6

Filters the array of personal data eraser callbacks.

Использование

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

	return $args;
}
$args(массив)

An array of callable erasers of personal data.

  • { (массив)
    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.

По умолчанию: empty array

Список изменений

С версии 4.9.6 Введена.

Где вызывается хук

wp_ajax_wp_privacy_erase_personal_data()
wp_privacy_personal_data_erasers
wp_privacy_process_personal_data_erasure_page()
wp_privacy_personal_data_erasers
WP_Privacy_Data_Removal_Requests_List_Table::column_email()
wp_privacy_personal_data_erasers
WP_Privacy_Data_Removal_Requests_List_Table::column_next_steps()
wp_privacy_personal_data_erasers
wp-admin/includes/ajax-actions.php 4945
$erasers = apply_filters( 'wp_privacy_personal_data_erasers', array() );
wp-admin/includes/privacy-tools.php 797
$erasers        = apply_filters( 'wp_privacy_personal_data_erasers', array() );
wp-admin/includes/class-wp-privacy-data-removal-requests-list-table.php 53
$erasers       = apply_filters( 'wp_privacy_personal_data_erasers', array() );
wp-admin/includes/class-wp-privacy-data-removal-requests-list-table.php 95
$erasers       = apply_filters( 'wp_privacy_personal_data_erasers', array() );

Где используется хук (в ядре WP)

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