WordPress开发者和主题制作者的搜索引擎



wp_privacy_exports_url ›

Since4.9.6
已弃用n/a
wp_privacy_exports_url ( 没有参数 )
查看:
返回:
  • (string) Exports directory URL.
定义在:
文档:

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



源码

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 );
}