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.


Top ↑

Source

File: wp-includes/functions.php

View on Trac



Top ↑

Changelog

Changelog
VersionDescription
5.5.0Exports now use relative paths, so changes to the directory URL via this filter should be reflected on the server.
4.9.6Introduced.

The content displayed on this page has been created in part by processing WordPress source code files which are made available under the GPLv2 (or a later version) license by theĀ Free Software Foundation. In addition to this, the content includes user-written examples and information. All material is subject to review and curation by the WPPaste.com community.

Show More