wp_privacy_exports_url хук-фильтрWP 4.9.6

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

Использование

add_filter( 'wp_privacy_exports_url', 'wp_kama_privacy_exports_url_filter' );

/**
 * Function for `wp_privacy_exports_url` filter-hook.
 * 
 * @param string $exports_url Exports directory URL.
 *
 * @return string
 */
function wp_kama_privacy_exports_url_filter( $exports_url ){

	// filter...
	return $exports_url;
}
$exports_url(строка)
Exports directory URL.

Список изменений

С версии 4.9.6 Введена.
С версии 5.5.0 Exports now use relative paths, so changes to the directory URL via this filter should be reflected on the server.

Где вызывается хук

wp_privacy_exports_url()
wp_privacy_exports_url
wp-includes/functions.php 8230
return apply_filters( 'wp_privacy_exports_url', $exports_url );

Где используется хук в WordPress

Использование не найдено.