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

Filters the directory used to store personal data export files.

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

add_filter( 'wp_privacy_exports_dir', 'wp_kama_privacy_exports_dir_filter' );

/**
 * Function for `wp_privacy_exports_dir` filter-hook.
 * 
 * @param string $exports_dir Exports directory.
 *
 * @return string
 */
function wp_kama_privacy_exports_dir_filter( $exports_dir ){

	// filter...
	return $exports_dir;
}
$exports_dir(строка)
Exports directory.

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

С версии 4.9.6 Введена.
С версии 5.5.0 Exports now use relative paths, so changes to the directory via this filter should be reflected on the server.

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

wp_privacy_exports_dir()
wp_privacy_exports_dir
wp-includes/functions.php 8205
return apply_filters( 'wp_privacy_exports_dir', $exports_dir );

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

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