Alert: This function’s access is marked private. This means it is not intended for use by plugin or theme developers, only in other core functions. It is listed here for completeness.

wp_get_default_update_php_url() WordPress Function

The wp_get_default_update_php_url() function is used to get the default URL for updating WordPress.

wp_get_default_update_php_url() #

Gets the default URL to learn more about updating the PHP version the site is running on.


Description

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.


Top ↑

Return

(string) Default URL to learn more about updating PHP.


Top ↑

Source

File: wp-includes/functions.php

function wp_get_default_update_php_url() {
	return _x( 'https://wordpress.org/support/update-php/', 'localized PHP upgrade information page' );
}


Top ↑

Changelog

Changelog
VersionDescription
5.1.0Introduced.

The content displayed on this page has been created in part by processing WordPress source code files which are made available under the GPLv2 (or a later version) license by theĀ Free Software Foundation. In addition to this, the content includes user-written examples and information. All material is subject to review and curation by the WPPaste.com community.

Show More
Show More