Skip to content
  • Log In
  • Register
WordPress.org
  • News
  • Download & Extend
    • Get WordPress
    • Themes
    • Patterns
    • Plugins
    • Openverse
    • Mobile
    • Hosting
  • Learn
    • Learn WordPress
    • Documentation
    • Forums
    • WordPress.tv
    • Developers
  • Community
    • Make WordPress
    • WordCamp
    • Meetups
    • Photo Directory
    • Job Board
    • Five for the Future
  • About
    • About WordPress
    • Showcase
    • Gutenberg
    • Enterprise
    • WordPress Swag Store
  • Get WordPress
Get WordPress

Developer Resources

Browse: Home / Reference / wp-includes/https-migration.php

wp_should_replace_insecure_home_url()

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

Source: wp-includes/https-migration.php:20

Used by 1 function | Uses 6 functions

wp_should_replace_insecure_home_url

Filter Hook: Filters whether WordPress should replace old HTTP URLs to the site with their HTTPS counterpart.

Source: wp-includes/https-migration.php:37

Used by 1 function | Uses 0 functions

wp_replace_insecure_home_url()

Function: Replaces insecure HTTP URLs to the site in the given content, if configured to do so.

Source: wp-includes/https-migration.php:51

Used by 0 functions | Uses 2 functions

wp_update_urls_to_https()

Function: Update the ‘home’ and ‘siteurl’ option to use the HTTPS variant of their URL.

Source: wp-includes/https-migration.php:86

Used by 0 functions | Uses 3 functions

wp_update_https_migration_required()

Function: Updates the ‘https_migration_required’ option if needed when the given URL has been updated from HTTP to HTTPS.

Source: wp-includes/https-migration.php:124

Used by 0 functions | Uses 5 functions
  • About
  • News
  • Hosting
  • Donate
  • Swag
  • Documentation
  • Developers
  • Get Involved
  • Learn
  • Showcase
  • Plugins
  • Themes
  • Patterns
  • WordCamp
  • WordPress.TV
  • BuddyPress
  • bbPress
  • WordPress.com
  • Matt
  • Privacy
  • Public Code
WordPress.org
WordPress.org
  • Visit our Facebook page
  • Visit our Twitter account
  • Visit our Instagram account
  • Visit our LinkedIn account
Code is Poetry