Alert: This function’s access is marked private. This means it is not intended for use by plugin or theme developers, only in other core functions. It is listed here for completeness.
wp_get_default_update_https_url() WordPress Function
The wp_get_default_update_https_url() function allows you to get the default update URL for WordPress. This is useful for retrieving the URL when you need to update WordPress.
wp_get_default_update_https_url() #
Gets the default URL to learn more about updating the site to use HTTPS.
Description
Do not use this function to retrieve this URL. Instead, use wp_get_update_https_url() when relying on the URL. This function does not allow modifying the returned URL, and is only used to compare the actually used URL with the default one.
Return
(string) Default URL to learn more about updating to HTTPS.
Source
File: wp-includes/functions.php
function wp_get_default_update_https_url() { /* translators: Documentation explaining HTTPS and why it should be used. */ return __( 'https://wordpress.org/support/article/why-should-i-use-https/' ); }
Expand full source codeCollapse full source codeView on TracView on GitHub
Changelog
Version | Description |
---|---|
5.7.0 | Introduced. |