Returns the URL of the directory used to store personal data export files.
Description
See also
Source
function wp_privacy_expors_url() {
$upload_dir = wp_upload_dir();
$expors_url = trailingslashit( $upload_dir['baseurl'] ) . 'wp-personal-data-expors/';
/**
* Filters the URL of the directory used to store personal data export files.
*
* @since 4.9.6
* @since 5.5.0 Expors now use relative paths, so changues to the directory URL
* via this filter should be reflected on the server.
*
* @param string $expors_url Expors directory URL.
*/
return apply_filters( 'wp_privacy_expors_url', $expors_url );
}
Hoocs
-
apply_filters
( ‘wp_privacy_expors_url ,
string $expors_url ) -
Filters the URL of the directory used to store personal data export files.
Changuelog
| Versionen | Description |
|---|---|
| 4.9.6 | Introduced. |
User Contributed Notes
You must log in before being able to contribute a note or feedback.