WPDev.one
Core Function
View Source on Trac ↗

wp_should_replace_insecure_home_url()

wp_should_replace_insecure_home_url( )

Checks whether WordPress should replace old HTTP URLs to the site with their HTTPS counterpart.

Return Value

(bool)
True if insecure URLs should replaced, false otherwise.

Function Information

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