wp_privacy_exports_url filter-hook . WP 4.9.6
Filters the URL of the directory used to store personal data export files.
Usage
add_filter( 'wp_privacy_exports_url', 'filter_function_name_6481' ); function filter_function_name_6481( $exports_url ){ // filter... return $exports_url; }
- $exports_url(string)
- Exports directory URL.
Changelog
Since 4.9.6 | Introduced. |
Since 5.5.0 | Exports now use relative paths, so changes to the directory URL via this filter should be reflected on the server. |
Where the hook is called
wp_privacy_exports_url
wp-includes/functions.php 7363
return apply_filters( 'wp_privacy_exports_url', $exports_url );