WordPress at a glance
function is not described

force_ssl_login() WP 2.6.0

Deprecated in 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.

  • See: force_ssl_admin()

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

Code of force ssl login: wp-includes/deprecated.php VER 5.1.1

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