WordPress at a glance
filter is not described

wp_privacy_export_expiration filter-hook . WP 4.9.6

Filters the lifetime, in seconds, of a personal data export file.

By default, the lifetime is 3 days. Once the file reaches that age, it will automatically be deleted by a cron job.

Usage

add_filter( 'wp_privacy_export_expiration', 'filter_function_name_5993' );
function filter_function_name_5993( $expiration ){
	// filter...

	return $expiration;
}
$expiration(int)
The expiration age of the export, in seconds.

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

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

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

wp_privacy_delete_old_export_files()
wp_privacy_export_expiration
wp_privacy_send_personal_data_export_email()
wp_privacy_export_expiration
wp-includes/functions.php 7316
$expiration = apply_filters( 'wp_privacy_export_expiration', 3 * DAY_IN_SECONDS );
wp-admin/includes/privacy-tools.php 572
$expiration      = apply_filters( 'wp_privacy_export_expiration', 3 * DAY_IN_SECONDS );

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

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