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.


Top ↑

Parameters

$update_url

(string)URL to learn more about updating HTTPS.


Top ↑

Source

File: wp-includes/functions.php

View on Trac



Top ↑

Changelog

Changelog
VersionDescription
5.7.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