wp_get_default_update_php_url()
Gets the default URL to learn more about updating the PHP version the site is running on.
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.
Внутренняя функция — эта функция рассчитана на использование самим ядром. Не рекомендуется использовать эту функцию в своем коде.
Хуков нет.
Возвращает
Строку
. Default URL to learn more about updating PHP.
Использование
wp_get_default_update_php_url();
Список изменений
С версии 5.1.0 | Введена. |
Код wp_get_default_update_php_url() wp get default update php url WP 6.5.2
function wp_get_default_update_php_url() { return _x( 'https://wordpress.org/support/update-php/', 'localized PHP upgrade information page' ); }