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



wp_privacy_exports_url ›

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

Returns the URL of the directory used to store personal data export files.



Fonte

function wp_privacy_exports_url() {
	$upload_dir  = wp_upload_dir();
	$exports_url = trailingslashit( $upload_dir['baseurl'] ) . 'wp-personal-data-exports/';

	/**
	 * Filters the URL of the directory used to store personal data export files.
	 *
	 * @since 4.9.6
	 *
	 * @param string $exports_url Exports directory URL.
	 */
	return apply_filters( 'wp_privacy_exports_url', $exports_url );
}