wp_get_default_update_php_url()
Проверено на WordPress 6.9, обновлено Источник: WordPress Developer Resources.
Сигнатура
wp_get_default_update_php_url(): string
Описание
Не используйте эту функцию для получения этого URL. Вместо этого используйте wp_get_update_php_url(), когда полагаетесь на URL.
Эта функция не позволяет изменять возвращаемый URL и служит только для сравнения фактически используемого URL с URL по умолчанию.
Оригинал (английский)
Do not use this function to retrieve this URL. Instead, use wp_get_update_php_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:8563
function wp_get_default_update_php_url() {
return _x( 'https://wordpress.org/support/update-php/', 'localized PHP upgrade information page' );
}
История изменений
| Версия | Описание |
|---|---|
| 5.1.0 | Introduced. |

