Determines whether to force SSL on content.
Parameters
$force
booloptionalDefault:
''
Source
function force_ssl_content( $force = '' ) {
static $forced_content = false;
if ( ! $force ) {
$old_forced = $forced_content;
$forced_content = $force;
return $old_forced;
}
return $forced_content;
}
Changelog
Version | Description |
---|---|
2.8.5 | Introduced. |
User Contributed Notes
You must log in before being able to contribute a note or feedback.