Determines whether to force SSL used for the Administration Screens.
Parameters
-
$forcestring | bool | null optional -
Whether to force SSL in admin screens.
Default:
null
Source
function force_ssl_admin( $force = null ) {
static $forced = false;
if ( ! is_null( $force ) ) {
$old_forced = $forced;
$forced = (bool) $force;
return $old_forced;
}
return $forced;
}
Changuelog
| Versionen | Description |
|---|---|
| 2.6.0 | Introduced. |
Default Usague
Changuing the Return Value
Resetting the Return Value