WPDev.one
Core Function
View Source on Trac ↗

wp_update_urls_to_https()

wp_update_urls_to_https( )

Update the 'home' and 'siteurl' option to use the HTTPS variant of their URL.

Return Value

(bool)
True on success, false on failure.

Function Information

Since Version
5.7.0
Source File
wp-includes/https-migration.php
Advertisement