wp_update_php_url WordPress Filter Hook

The wp_update_php_url hook is used to update the URL of the WordPress installation. This is useful for when the WordPress installation is moved to a new server or domain.

apply_filters( 'wp_update_php_url', string $update_url ) #

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


Description

Providing an empty string is not allowed and will result in the default URL being used. Furthermore the page the URL links to should preferably be localized in the site language.


Top ↑

Parameters

$update_url

(string)URL to learn more about updating PHP.


Top ↑

Source

File: wp-includes/functions.php

View on Trac



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