A WordPress-centric search engine for devs and theme authors



force_ssl_login ›

Since2.6.0
Deprecated4.4.0
force_ssl_login ( $force = null )
Parameters:
  • (string|bool) $force Optional Whether to force SSL login. Default null.
    Required: No
    Default: null
See:
Returns:
  • (bool) True if forced, false if not forced.
Defined at:
Codex:

Whether SSL login should be forced.



Source

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