wp_should_replace_insecure_home_url

wp_should_replace_insecure_home_url

Hook Type: filter

See hook in core

Displaying hooks found in version: wordpress-6.7.1

apply_filters('wp_should_replace_insecure_home_url') is found 1 times:

  • /wp-includes/https-migration.php line 37
    	 * @since 5.7.0
    	 *
    	 * @param bool $should_replace_insecure_home_url Whether insecure HTTP URLs to the site should be replaced.
    	 */
    	return apply_filters( 'wp_should_replace_insecure_home_url', $should_replace_insecure_home_url );
    }
    
    /**
     * 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