WordPress at a glance
function is not described

force_ssl_content() WP 2.8.5

Whether to force SSL on content.

  • Static. true/false. $forced_content

No Hooks.

Return

true/false. True if forced, false if not forced.

Usage

force_ssl_content( $force );
$force(true/false)

Default: ''

Code of force ssl content: wp-includes/ms-functions.php VER 5.1.1

<?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;
}