wpsc_is_https()
No Hooks.
Return
null
. Nothing (null).
Usage
wpsc_is_https();
wpsc_is_https() wpsc is https code WPSCache 1.12.4
function wpsc_is_https() { // Also supports https requests coming from an nginx reverse proxy return ( ( isset( $_SERVER['HTTPS'] ) && 'on' == strtolower( $_SERVER['HTTPS'] ) ) || ( isset( $_SERVER['HTTP_X_FORWARDED_PROTO'] ) && 'https' == strtolower( $_SERVER['HTTP_X_FORWARDED_PROTO'] ) ) ); }