WordPress at Your Fingertips
function is not described

wp_privacy_exports_dir() WP 4.9.6

Returns the directory used to store personal data export files.

Hooks from the function

Return

String. Exports directory.

Usage

wp_privacy_exports_dir();

Notes

Changelog

Since 4.9.6 Introduced.

Code of wp_privacy_exports_dir() WP 5.8.1

function wp_privacy_exports_dir() {
	$upload_dir  = wp_upload_dir();
	$exports_dir = trailingslashit( $upload_dir['basedir'] ) . 'wp-personal-data-exports/';

	/**
	 * Filters the directory used to store personal data export files.
	 *
	 * @since 4.9.6
	 * @since 5.5.0 Exports now use relative paths, so changes to the directory
	 *              via this filter should be reflected on the server.
	 *
	 * @param string $exports_dir Exports directory.
	 */
	return apply_filters( 'wp_privacy_exports_dir', $exports_dir );
}