wp_get_default_update_https_url()
Gets the default URL to learn more about updating the site to use HTTPS.
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.
Internal function — this function is designed to be used by the kernel itself. It is not recommended to use this function in your code.
No Hooks.
Return
String
. Default URL to learn more about updating to HTTPS.
Usage
wp_get_default_update_https_url();
Changelog
Since 5.7.0 | Introduced. |
wp_get_default_update_https_url() wp get default update https url code WP 6.7.1
function wp_get_default_update_https_url() { /* translators: Documentation explaining HTTPS and why it should be used. */ return __( 'https://developer.wordpress.org/advanced-administration/security/https/' ); }