wp_update_https_migration_required


wp_update_https_migration_required ( $old_url, $new_url )

Access:
  • private
Parameters:
  • (mixed) old_url Previous value of the URL option.
  • (mixed) new_url New value of the URL option.
Defined at:

Description

Updates the 'https_migration_required' option if needed when the given URL has been updated from HTTP to HTTPS.If this is a fresh site, a migration will not be required, so the option will be set as `false`. This is hooked into the {@see 'update_option_home'} action.

Related Functions

wp_update_https_detection_errors, wp_get_update_https_url, wp_update_php_annotation, wp_update_site, wp_get_https_detection_errors

Top Google Results

User discussions

wpseek mobile