WPDev.one
Core Function
View Source on Trac ↗

force_ssl_admin()

force_ssl_admin( mixed $force = null )

Determines whether to force SSL used for the Administration Screens.

Parameters 1 required

Name / Type Description
(string

| bool | null) $force Optional. Whether to force SSL in admin screens. Default null.

Required

Return Value

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

Function Information

Since Version
2.6.0
Source File
wp-includes/functions.php
Advertisement