wp_get_default_update_https_url
函数
wp_get_default_update_https_url ( No parameters )
- Access
- Private
- 返回值
-
- (string) Default URL to learn more about updating to HTTPS.
- 定义位置
-
-
wp-includes/functions.php
, line 8152
-
wp-includes/functions.php
- 引入
- 5.7.0
- 弃用
- –
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.
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/' ); }
声明:本站所有文章,如无特殊说明或标注,均为本站原创发布。任何个人或组织,在未征得本站同意时,禁止复制、盗用、采集、发布本站内容到任何网站、书籍等各类媒体平台。如若本站内容侵犯了原著者的合法权益,可联系我们进行处理。