Core Function
View Source on Trac ↗ wp_update_https_migration_required()
wp_update_https_migration_required( mixed $old_url, mixed $new_url ) Updates the 'https_migration_required' option if needed when the given URL has been updated from HTTP to HTTPS.
Parameters 2 required
| Name / Type | Description |
|---|---|
| $old_url mixed | Previous value of the URL option. Required |
| $new_url mixed | New value of the URL option. Required |
Return Value
(void)
No return value description available.
Function Information
Since Version
5.7.0
Source File
wp-includes/https-migration.php
Advertisement