wp_get_default_update_https_url()
Проверено на WordPress 6.9, обновлено Источник: WordPress Developer Resources.
Сигнатура
wp_get_default_update_https_url(): string
Описание
Не используйте эту функцию для получения этого URL. Вместо этого, когда вам нужен этот URL, используйте wp_get_update_https_url() .
Эта функция не позволяет изменять возвращаемый URL и применяется только для сравнения фактически используемого URL с URL по умолчанию.
Оригинал (английский)
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.
Возвращаемое значение
string
Исходный код
wp-includes/functions.php:8729
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/' );
}
История изменений
| Версия | Описание |
|---|---|
| 5.7.0 | Introduced. |

