This function has been deprecated. Use force_ssl_admin() instead.
force_ssl_login( string|bool $force = null )
Whether SSL login should be forced.
Description
See also
Parameters
- $force
-
(Optional) Whether to force SSL login.
Default value: null
Return
(bool) True if forced, false if not forced.
Source
File: wp-includes/deprecated.php
function force_ssl_login( $force = null ) {
_deprecated_function( __FUNCTION__, 'WP-4.4.0', 'force_ssl_admin()' );
return force_ssl_admin( $force );
}
Changelog
Version | Description |
---|---|
WP-4.4.0 | Use force_ssl_admin() |
WP-2.6.0 | Introduced. This function has been deprecated. Use force_ssl_admin() instead. |