Description
Use this filter to determine whether or not the current page is running securely (https). Useful when using a proxy server that does not set the $_SERVER['HTTPS'] variable.
Usage
<?php
add_filter("gform_is_ssl", "set_ssl");
?>
Examples
<?php
add_filter("gform_is_ssl", "set_ssl");
function set_ssl()
{
return true;
}
?>
Placement
This code should be placed in the functions.php file of your active theme.
Source Code
This filter is located in common.php