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.


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


force_ssl_login( $force );
Optional Whether to force SSL login.
Default: null

Code of force ssl login: wp-includes/deprecated.php WP 5.2.2

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