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

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

Filters the array of exporter callbacks.

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

add_filter( 'wp_privacy_personal_data_exporters', 'filter_function_name_1885' );
function filter_function_name_1885( $args ){
	// filter...

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

An array of callable exporters of personal data.

  • { (массив)
    Array of personal data exporters.

    @type string $callback               Callable exporter function that accepts an
    									 email address and a page and returns an array
    									 of name => value pairs of personal data.
    @type string $exporter_friendly_name Translated user facing friendly name for the
    									 exporter.

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

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

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

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

wp_ajax_wp_privacy_export_personal_data()
wp_privacy_personal_data_exporters
wp_privacy_process_personal_data_export_page()
wp_privacy_personal_data_exporters
WP_Privacy_Data_Export_Requests_Table::column_email()
wp_privacy_personal_data_exporters
WP_Privacy_Data_Export_Requests_Table::column_next_steps()
wp_privacy_personal_data_exporters
wp-admin/includes/ajax-actions.php 4518
$exporters = apply_filters( 'wp_privacy_personal_data_exporters', array() );
wp-admin/includes/file.php 2586
$exporters        = apply_filters( 'wp_privacy_personal_data_exporters', array() );
wp-admin/includes/user.php 1519
$exporters       = apply_filters( 'wp_privacy_personal_data_exporters', array() );
wp-admin/includes/user.php 1560
$exporters       = apply_filters( 'wp_privacy_personal_data_exporters', array() );

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

wp-includes/default-filters.php 365
add_filter( 'wp_privacy_personal_data_exporters', 'wp_register_comment_personal_data_exporter' );
wp-includes/default-filters.php 366
add_filter( 'wp_privacy_personal_data_exporters', 'wp_register_media_personal_data_exporter' );
wp-includes/default-filters.php 367
add_filter( 'wp_privacy_personal_data_exporters', 'wp_register_user_personal_data_exporter', 1 );