wp_privacy_exports_url WordPress Filter Hook
The wp_privacy_exports_url hook allows you to specify the URL for exporting personal data. This is useful if you need to comply with the European Union's General Data Protection Regulation (GDPR).
apply_filters( 'wp_privacy_exports_url', string $exports_url ) #
Filters the URL of the directory used to store personal data export files.
Parameters
- $exports_url
(string)Exports directory URL.
Source
Changelog
Version | Description |
---|---|
5.5.0 | Exports now use relative paths, so changes to the directory URL via this filter should be reflected on the server. |
4.9.6 | Introduced. |