force_ssl_content( bool $force = '' )

Whether to force SSL on content.


Description Description


Parameters Parameters

$force

(bool) (Optional)

Default value: ''


Top ↑

Return Return

(bool) True if forced, false if not forced.


Top ↑

Source Source

File: wp-includes/ms-functions.php

function force_ssl_content( $force = '' ) {
	static $forced_content = false;

	if ( '' != $force ) {
		$old_forced = $forced_content;
		$forced_content = $force;
		return $old_forced;
	}

	return $forced_content;
}

Top ↑

Changelog Changelog

Changelog
Version Description
2.8.5 Introduced.


Top ↑

User Contributed Notes User Contributed Notes

You must log in before being able to contribute a note or feedback.