wp_replace_insecure_home_url


wp_replace_insecure_home_url ( $content )

Parameters:
  • (string) content Content to replace URLs in.
Returns:
  • (string) Filtered content.
Defined at:

Description

Replaces insecure HTTP URLs to the site in the given content, if configured to do so.This function replaces all occurrences of the HTTP version of the site's URL with its HTTPS counterpart, if determined via {@see}.

Related Functions

wp_should_replace_insecure_home_url, wp_replace_in_html_tags, wp_media_insert_url_form, wp_prepare_themes_for_js, wp_create_nav_menu

Top Google Results

User discussions

wpseek mobile