WordPress at a glance
function is not described

force_ssl_login() WP 2.6.0

Deprecated from version 4.4.0. It is no longer supported and can be removed in future releases. Use force_ssl_admin() instead.

Whether SSL login should be forced.

No Hooks.

Return

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

Usage

force_ssl_login( $force );
$force(string|true|false)
Optional Whether to force SSL login.
Default: null

Notes

  • See: force_ssl_admin()

Changelog

Since 2.6.0 Introduced.
Deprecated Since 4.4.0 Use force_ssl_admin()

Code of force_ssl_login() WP 5.7

<?php
function force_ssl_login( $force = null ) {
	_deprecated_function( __FUNCTION__, '4.4.0', 'force_ssl_admin()' );
	return force_ssl_admin( $force );
}