WordPress开发者和主题制作者的搜索引擎



force_ssl_login ›

Since2.6.0
已弃用4.4.0
force_ssl_login ( $force = null )
参数:
  • (string|bool) $force Optional Whether to force SSL login. Default null.
    Required: No
    默认: null
查看:
返回:
  • (bool) True if forced, false if not forced.
定义在:
文档:

Whether SSL login should be forced.



源码

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