Warning: This function has been deprecated. Use force_ssl_admin() instead.

force_ssl_login( string|bool $force = null ): bool

Whether SSL login should be forced.


Description

Top ↑

See also


Top ↑

Parameters

$force string|bool Optional
Optional Whether to force SSL login.

Default: null


Top ↑

Return

bool True if forced, false if not forced.


Top ↑

Source

File: wp-includes/deprecated.php. View all references

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


Top ↑

Changelog

Changelog
Version Description
4.4.0 Use force_ssl_admin()
2.6.0 Introduced.

Top ↑

User Contributed Notes

You must log in before being able to contribute a note or feedback.