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.
Parameters
- $update_url
(string)URL to learn more about updating PHP.
Source
Changelog
Version | Description |
---|---|
5.1.0 | Introduced. |