wp_get_default_update_php_url()WP 5.1.0

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.

Internal function — this function is designed to be used by the kernel itself. It is not recommended to use this function in your code.

No Hooks.

Return

String. Default URL to learn more about updating PHP.

Usage

wp_get_default_update_php_url();

Changelog

Since 5.1.0 Introduced.

wp_get_default_update_php_url() code WP 6.5.2

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