Uma área de pesquisa sobre o WordPress para devs e autores do tema



wp_privacy_exports_dir ›

Desde4.9.6
Obsoleton/a
wp_privacy_exports_dir ( Sem parâmetros )
Ver:
Retorna:
  • (string) Exports directory.
Definido em:
Codex:

Returns the directory used to store personal data export files.



Fonte

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
	 *
	 * @param string $exports_dir Exports directory.
	 */
	return apply_filters( 'wp_privacy_exports_dir', $exports_dir );
}