A WordPress-centric search engine for devs and theme authors



wp_get_default_update_https_url ›

Since5.7.0
Deprecatedn/a
wp_get_default_update_https_url ( No parameters )
Access:
  • private
Returns:
  • (string) Default URL to learn more about updating to HTTPS.
Defined at:
Codex:

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 {@see} 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.


Source

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/' );
}