wp_update_https_url WordPress Filter Hook
The wp_update_https_url hook allows you to update the WordPress URL to use HTTPS. This is useful if you want to change the URL of your WordPress site to use HTTPS, but don't want to change the actual WordPress address.
apply_filters( 'wp_update_https_url', string $update_url ) #
Filters the URL to learn more about updating the HTTPS 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 HTTPS.
Source
Changelog
Version | Description |
---|---|
5.7.0 | Introduced. |